com.pvx.ooadide
Class ProvideXOOADPlugin
java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
com.pvx.ooadide.ProvideXOOADPlugin
- All Implemented Interfaces:
- PvxPlugin, org.eclipse.ui.IStartup, org.osgi.framework.BundleActivator
public class ProvideXOOADPlugin
- extends org.eclipse.ui.plugin.AbstractUIPlugin
- implements PvxPlugin, org.eclipse.ui.IStartup
Field Summary |
static java.lang.String |
ID
|
Fields inherited from class org.eclipse.core.runtime.Plugin |
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin |
getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, shutdown, start, startup |
Methods inherited from class org.eclipse.core.runtime.Plugin |
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
ProvideXOOADPlugin
public ProvideXOOADPlugin(org.eclipse.core.runtime.IPluginDescriptor descriptor)
ProvideXOOADPlugin
public ProvideXOOADPlugin()
doInit
public void doInit()
getResourceBundle
public java.util.ResourceBundle getResourceBundle()
- Returns the plugin's resource bundle,
getLocOfPvxPlugin
public void getLocOfPvxPlugin()
addDependentPlugin
public void addDependentPlugin(PvxPlugin aPlugin)
getPluginsContributingKeywords
public static java.util.ArrayList getPluginsContributingKeywords()
getPvxPluginInstance
public static ProvideXOOADPlugin getPvxPluginInstance()
getPvxDOMPath
public static final java.lang.String getPvxDOMPath(org.eclipse.core.resources.IProject project)
getPvxHelperPath
public java.lang.String getPvxHelperPath()
- Specified by:
getPvxHelperPath
in interface PvxPlugin
getPluginId
public java.lang.String getPluginId()
- Specified by:
getPluginId
in interface PvxPlugin
log
public static void log(org.eclipse.core.runtime.IStatus status)
getActivePage
public static org.eclipse.ui.IWorkbenchPage getActivePage()
internalGetActivePage
public org.eclipse.ui.IWorkbenchPage internalGetActivePage()
getArgsFromPropertiesInWorkspace
public final java.util.Hashtable getArgsFromPropertiesInWorkspace(java.lang.String propfile)
getArgsFromProperties
public final java.util.Hashtable getArgsFromProperties(java.lang.String propfile)
- Specified by:
getArgsFromProperties
in interface PvxPlugin
getDocument
public java.lang.String getDocument(java.lang.String fileName)
setCongifValues
public void setCongifValues()
getUserResourceProperties
public java.util.Hashtable getUserResourceProperties(java.util.Hashtable configs)
getPrefsForFromProperties
public java.util.Hashtable getPrefsForFromProperties(java.util.Hashtable configs)
stop
public void stop(org.osgi.framework.BundleContext context)
throws java.lang.Exception
- Specified by:
stop
in interface org.osgi.framework.BundleActivator
- Overrides:
stop
in class org.eclipse.ui.plugin.AbstractUIPlugin
- Throws:
java.lang.Exception
getJarConfigs
public static final java.util.Hashtable getJarConfigs()
getUserConfigs
public static final java.util.Hashtable getUserConfigs()
getUserResourceProps
public static final java.util.Hashtable getUserResourceProps()
getFileInPlugin
public static java.io.File getFileInPlugin(org.eclipse.core.runtime.IPath path)
- Return a
java.io.File
object that corresponds to the specified
IPath
in the plugin directory, or null
if none.
getDefault
public static org.eclipse.core.runtime.Plugin getDefault()
earlyStartup
public void earlyStartup()
- Specified by:
earlyStartup
in interface org.eclipse.ui.IStartup
getDependentPluginList
public static java.util.ArrayList getDependentPluginList()
isPluginAdded
public static boolean isPluginAdded()