X-Git-Url: http://secure.phpeclipse.com diff --git a/archive/net.sourceforge.phpeclipse.wiki/src/net/sourceforge/phpeclipse/wiki/editor/WikiEditorPlugin.java b/archive/net.sourceforge.phpeclipse.wiki/src/net/sourceforge/phpeclipse/wiki/editor/WikiEditorPlugin.java index 915af72..d36277a 100644 --- a/archive/net.sourceforge.phpeclipse.wiki/src/net/sourceforge/phpeclipse/wiki/editor/WikiEditorPlugin.java +++ b/archive/net.sourceforge.phpeclipse.wiki/src/net/sourceforge/phpeclipse/wiki/editor/WikiEditorPlugin.java @@ -9,7 +9,6 @@ import java.net.URL; import java.sql.SQLException; import java.text.MessageFormat; import java.util.ArrayList; -import java.util.Enumeration; import java.util.Hashtable; import java.util.List; import java.util.MissingResourceException; @@ -21,9 +20,13 @@ import net.sourceforge.phpeclipse.wiki.internal.ConfigurationManager; import net.sourceforge.phpeclipse.wiki.internal.IConfigurationWorkingCopy; import net.sourceforge.phpeclipse.wiki.sql.WikipediaDB; +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.IProject; +import org.eclipse.core.resources.IResource; import org.eclipse.core.resources.IWorkspace; import org.eclipse.core.resources.ResourcesPlugin; -import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.IAdapterFactory; +import org.eclipse.core.runtime.IAdapterManager; import org.eclipse.core.runtime.IExtension; import org.eclipse.core.runtime.IPluginDescriptor; import org.eclipse.core.runtime.IStatus; @@ -37,13 +40,15 @@ import org.eclipse.jface.text.templates.ContextTypeRegistry; import org.eclipse.jface.text.templates.persistence.TemplateStore; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.widgets.Display; -import org.eclipse.swt.widgets.Shell; +import org.eclipse.ui.IContributorResourceAdapter; +import org.eclipse.ui.IPersistableElement; import org.eclipse.ui.IWorkbenchPage; import org.eclipse.ui.IWorkbenchWindow; -import org.eclipse.ui.PlatformUI; import org.eclipse.ui.editors.text.templates.ContributionContextTypeRegistry; import org.eclipse.ui.editors.text.templates.ContributionTemplateStore; import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.eclipse.ui.views.properties.IPropertySource; +import org.osgi.framework.BundleContext; public class WikiEditorPlugin extends AbstractUIPlugin { @@ -141,6 +146,10 @@ public class WikiEditorPlugin extends AbstractUIPlugin { public final static String CONSOLE_OUTPUT = "__console_output"; + public final static String HTTP_GET_THROTTLE = "http.get.throttle"; + + public final static String HTTP_PUT_THROTTLE = "http.put.throttle"; + public final static String HTTP_TIMEOUT = "http.timeout"; public final static String HTTP_PROXYHOST = "http.proxyHost"; @@ -151,6 +160,14 @@ public class WikiEditorPlugin extends AbstractUIPlugin { public final static String HTTP_PROXYPASSWORD = "http.proxyPassword"; + /** + * A named preference that controls whether the 'wrap words' feature is enabled. + *
+ * Value is of type Boolean
.
+ *