|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.core.runtime.model.Factory
An object which can create plug-in related model objects (typically when parsing plug-in manifest files).
This class may be instantiated, or further subclassed.
Constructor Summary | |
Factory(MultiStatus status)
Creates a factory which can be used to create plug-in model objects. |
Method Summary | |
ConfigurationElementModel |
createConfigurationElement()
Returns a new configuration element model which is not initialized. |
ConfigurationPropertyModel |
createConfigurationProperty()
Returns a new configuration property model which is not initialized. |
ExtensionModel |
createExtension()
Returns a new extension model which is not initialized. |
ExtensionPointModel |
createExtensionPoint()
Returns a new extension point model which is not initialized. |
LibraryModel |
createLibrary()
Returns a new library model which is initialized to not export any of its code. |
PluginDescriptorModel |
createPluginDescriptor()
Returns a new plug-in descriptor model which is not initialized. |
PluginFragmentModel |
createPluginFragment()
Returns a new plug-in fragment model which is not initialized. |
PluginPrerequisiteModel |
createPluginPrerequisite()
Returns a new plug-in prerequisite model which is initialized to not export its code and to not require an exact match. |
PluginRegistryModel |
createPluginRegistry()
Returns a new plug-in registry model with an empty plug-in table. |
URLModel |
createURL()
Returns a new URL model which is not initialized. |
void |
error(IStatus error)
Handles an error state specified by the status. |
MultiStatus |
getStatus()
Returns all of the status objects logged thus far by this factory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Factory(MultiStatus status)
error
method.
status
- the status to which errors should be loggedMethod Detail |
public ConfigurationElementModel createConfigurationElement()
public ConfigurationPropertyModel createConfigurationProperty()
public ExtensionModel createExtension()
public ExtensionPointModel createExtensionPoint()
public LibraryModel createLibrary()
public PluginDescriptorModel createPluginDescriptor()
public PluginFragmentModel createPluginFragment()
public PluginPrerequisiteModel createPluginPrerequisite()
public PluginRegistryModel createPluginRegistry()
public URLModel createURL()
public void error(IStatus error)
getStatus()
.
error
- a status detailing the error conditionpublic MultiStatus getStatus()
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |