|
Eclipse PDE Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPluginObject
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 |
|---|
static final String P_NAME
| Method Detail |
|---|
ISharedPluginModel getModel()
IPluginModelBase getPluginModel()
String getName()
boolean isInTheModel()
void setInTheModel(boolean inModel)
inModel - whether the object is currently part of a modelString getTranslatedName()
IPluginObject getParent()
IPluginBase getPluginBase()
String getResourceString(String key)
key - the name to use for resource bundle lookup
void setName(String name)
throws CoreException
name - the new object name
CoreException - if the model is not editableboolean isValid()
|
Eclipse PDE Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2011 IBM Corporation and others. All rights reserved.