|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.Plugin
org.eclipse.xsd.provider.XSDEditPlugin
The Plugin for the item providers.
The XML Schema model needs to be able to run
within an Eclipse workbench,
within a headless Eclipse workspace,
or just stand-alone as part of some other application.
To support this, all access is directed to the static methods,
which can redirect the service as appopriate to the runtime.
During stand-alone invocation no plugin initialization takes place.
In this case you will need to set the VABASE
or ECLIPSE
environment variable
to point at the location of the Eclipse installation.
getBaseURL()
Field Summary |
Fields inherited from class org.eclipse.core.runtime.Plugin |
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
Constructor Summary | |
XSDEditPlugin()
Creates an instance. |
Method Summary | |
static String |
getBaseURL()
Returns the base location at which to find resources. |
static Object |
getImage(String key)
Returns a URL for an image resource in the icons folder. |
static XSDEditPlugin |
getPlugin()
Returns the singleton instance. |
static String |
getString(String key)
Returns a resource string from the plugin.properties file. |
static String |
getString(String key,
Object[] objects)
Returns a resource string with substitutions from the plugin.properties. |
Methods inherited from class org.eclipse.core.runtime.Plugin |
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, start, startup, stop, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public XSDEditPlugin()
Method Detail |
public static XSDEditPlugin getPlugin()
public static String getBaseURL()
VABASE
or ECLIPSE
environment variable will be used, e.g.,
System.getProperty
("VABASE") + "/plugins/org.eclipse.xsd/"
IPluginDescriptor.getInstallURL()
public static Object getImage(String key)
key
- the key of the image to fetch.
public static String getString(String key)
key
- the key of the property to fetch.
getString(String, Object [])
public static String getString(String key, Object[] objects)
key
- the key of the property to fetch.objects
- the substitutions.
getString(String)
,
MessageFormat.format(String, Object[])
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |