|
Eclipse PDE Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A base interface for all the objects in the plug-in model.
Field Summary | |
---|---|
static String |
P_NAME
A property name that will be used to notify that the "name" field has changed. |
Method Summary | |
---|---|
ISharedPluginModel |
getModel()
Returns the model that owns this object. |
String |
getName()
Returns the name of this model object |
IPluginObject |
getParent()
Returns the parent of this model object. |
IPluginBase |
getPluginBase()
Returns the top-level model object. |
IPluginModelBase |
getPluginModel()
Returns the model that owns this object. |
String |
getResourceString(String key)
Returns a string by locating the provided key in the resource bundle associated with the model. |
String |
getTranslatedName()
Returns the translated name of this model object using the result of 'getName()' call as a resource key. |
boolean |
isInTheModel()
Returns true if this object is currently part of a model. |
boolean |
isValid()
Returns true if this object has all the required attributes set, false otherwise. |
void |
setInTheModel(boolean inModel)
Set the value indicating whether the object is currently part of a model. |
void |
setName(String name)
Chances the name of this model object. |
Methods inherited from interface org.eclipse.pde.core.IWritable |
---|
write |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Field Detail |
public static final String P_NAME
Method Detail |
public ISharedPluginModel getModel()
public IPluginModelBase getPluginModel()
public String getName()
public boolean isInTheModel()
public void setInTheModel(boolean inModel)
public String getTranslatedName()
public IPluginObject getParent()
public IPluginBase getPluginBase()
public String getResourceString(String key)
key
- the name to use for resource bundle lookup
public void setName(String name) throws CoreException
name
- the new object name
CoreException
public boolean isValid()
|
Eclipse PDE Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |