diff options
Diffstat (limited to 'plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/WSTWebPlugin.java')
-rw-r--r-- | plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/WSTWebPlugin.java | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/WSTWebPlugin.java b/plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/WSTWebPlugin.java deleted file mode 100644 index a5394d9ff..000000000 --- a/plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/WSTWebPlugin.java +++ /dev/null @@ -1,66 +0,0 @@ -/*************************************************************************************************** - * Copyright (c) 2003, 2004 IBM Corporation and others. All rights reserved. This program and the - * accompanying materials are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: IBM Corporation - initial API and implementation - **************************************************************************************************/ - -package org.eclipse.wst.web.internal; - -import org.eclipse.core.resources.IWorkspace; -import org.eclipse.core.resources.ResourcesPlugin; -import org.eclipse.core.runtime.Plugin; -import org.eclipse.wst.validation.internal.plugin.ValidationPlugin; - -/** - * The main plugin class to be used in the desktop. - */ -public class WSTWebPlugin extends Plugin -{ - //The shared instance. - private static WSTWebPlugin plugin; - - private WSTWebPreferences preferences; - - public static final String PLUGIN_ID = "com.ibm.etools.webtools.staticwebproject"; //$NON-NLS-1$ - public static final String VALIDATION_BUILDER_ID = ValidationPlugin.VALIDATION_BUILDER_ID; // plugin - - public static final String[] ICON_DIRS = new String[]{"icons/full/obj16", //$NON-NLS-1$ - "icons/full/ctool16", //$NON-NLS-1$ - "icons/full/wizban", //$NON-NLS-1$ - "icons", //$NON-NLS-1$ - ""}; //$NON-NLS-1$ - /** - * The constructor. - */ - public WSTWebPlugin() { - super(); - plugin = this; - } - - /** - * Returns the shared instance. - */ - public static WSTWebPlugin getDefault() - { - return plugin; - } - - public static IWorkspace getWorkspace() { - return ResourcesPlugin.getWorkspace(); - } - - protected void initializeDefaultPluginPreferences() { - getWSTWebPreferences().initializeDefaultPreferences(); - } - /** - * @return Returns the preferences. - */ - public WSTWebPreferences getWSTWebPreferences() { - if (this.preferences == null) - this.preferences = new WSTWebPreferences(this); - return this.preferences; - } -}
\ No newline at end of file |