com.pvx.ooadide
Class ProvideXOOADPlugin

java.lang.Object
  extended by org.eclipse.core.runtime.Plugin
      extended by org.eclipse.ui.plugin.AbstractUIPlugin
          extended by 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
 
Constructor Summary
ProvideXOOADPlugin()
           
ProvideXOOADPlugin(org.eclipse.core.runtime.IPluginDescriptor descriptor)
           
 
Method Summary
 void addDependentPlugin(PvxPlugin aPlugin)
           
 void doInit()
           
 void earlyStartup()
           
static org.eclipse.ui.IWorkbenchPage getActivePage()
           
 java.util.Hashtable getArgsFromProperties(java.lang.String propfile)
           
 java.util.Hashtable getArgsFromPropertiesInWorkspace(java.lang.String propfile)
           
static org.eclipse.core.runtime.Plugin getDefault()
           
static java.util.ArrayList getDependentPluginList()
           
 java.lang.String getDocument(java.lang.String fileName)
           
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.
static java.util.Hashtable getJarConfigs()
           
 void getLocOfPvxPlugin()
           
 java.lang.String getPluginId()
           
static java.util.ArrayList getPluginsContributingKeywords()
           
 java.util.Hashtable getPrefsForFromProperties(java.util.Hashtable configs)
           
static java.lang.String getPvxDOMPath(org.eclipse.core.resources.IProject project)
           
 java.lang.String getPvxHelperPath()
           
static ProvideXOOADPlugin getPvxPluginInstance()
           
 java.util.ResourceBundle getResourceBundle()
          Returns the plugin's resource bundle,
static java.util.Hashtable getUserConfigs()
           
 java.util.Hashtable getUserResourceProperties(java.util.Hashtable configs)
           
static java.util.Hashtable getUserResourceProps()
           
 org.eclipse.ui.IWorkbenchPage internalGetActivePage()
           
static boolean isPluginAdded()
           
static void log(org.eclipse.core.runtime.IStatus status)
           
 void setCongifValues()
           
 void stop(org.osgi.framework.BundleContext context)
           
 
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
 
Methods inherited from interface com.pvx.ooadide.PvxPlugin
getPreferenceStore
 

Field Detail

ID

public static final java.lang.String ID
See Also:
Constant Field Values
Constructor Detail

ProvideXOOADPlugin

public ProvideXOOADPlugin(org.eclipse.core.runtime.IPluginDescriptor descriptor)

ProvideXOOADPlugin

public ProvideXOOADPlugin()
Method Detail

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()