X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/WebUI.java b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/WebUI.java index eb7b852..76ccbd5 100644 --- a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/WebUI.java +++ b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/WebUI.java @@ -4,11 +4,11 @@ * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - * + * * Contributors: * Christopher Lenz - initial implementation - * - * $Id: WebUI.java,v 1.4 2005-02-12 23:21:46 axelcl Exp $ + * + * $Id: WebUI.java,v 1.6 2005-10-13 18:38:19 axelcl Exp $ */ package net.sourceforge.phpeclipse.ui; @@ -65,7 +65,7 @@ public class WebUI extends AbstractUIPlugin implements IPreferenceConstants { public static Shell getActiveWorkbenchShell() { return getActiveWorkbenchWindow().getShell(); } - + public static IWorkbenchWindow getActiveWorkbenchWindow() { return getDefault().getWorkbench().getActiveWorkbenchWindow(); } @@ -102,7 +102,7 @@ public class WebUI extends AbstractUIPlugin implements IPreferenceConstants { /** * Returns this plug-in's context type registry. - * + * * @return the context type registry for this plug-in instance */ public ContextTypeRegistry getContextTypeRegistry() { @@ -121,7 +121,7 @@ public class WebUI extends AbstractUIPlugin implements IPreferenceConstants { /** * Returns an image descriptor for the image corresponding to the specified key (which is the name of the image file). - * + * * @param key * The key of the image * @return The descriptor for the requested image, or null if the image could not be found @@ -137,7 +137,7 @@ public class WebUI extends AbstractUIPlugin implements IPreferenceConstants { /** * Returns this plug-in's template store. - * + * * @return the template store of this plug-in instance */ public TemplateStore getTemplateStore() { @@ -155,12 +155,12 @@ public class WebUI extends AbstractUIPlugin implements IPreferenceConstants { protected void initializeDefaultPreferences(IPreferenceStore store) { store.setDefault(PHP_LOCALHOST_PREF, "http://localhost"); store.setDefault(PHP_DOCUMENTROOT_PREF, getWorkspace().getRoot().getLocation().toString()); - store.setDefault(PHP_BOOKMARK_DEFAULT, ""); +// store.setDefault(PHP_BOOKMARK_DEFAULT, ""); store.setDefault(PHP_AUTO_PREVIEW_DEFAULT, "true"); store.setDefault(PHP_BRING_TO_TOP_PREVIEW_DEFAULT, "true"); - store.setDefault(PHP_SHOW_HTML_FILES_LOCAL, "true"); - store.setDefault(PHP_SHOW_XML_FILES_LOCAL, "false"); +// store.setDefault(PHP_SHOW_HTML_FILES_LOCAL, "true"); +// store.setDefault(PHP_SHOW_XML_FILES_LOCAL, "false"); } /*