|
Eclipse Platform 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.core.runtime.model.PluginModelObject
An object which has the general characteristics of all elements in a plug-in manifest.
This class may be subclassed.
Constructor Summary | |
PluginModelObject()
|
Method Summary | |
protected void |
assertIsWriteable()
Checks that this model object is writeable. |
String |
getName()
Returns the name of this element. |
int |
getStartLine()
Return the line number for the start tag for this plug-in object. |
boolean |
isReadOnly()
Returns whether or not this model object is read-only. |
void |
markReadOnly()
Sets this model object and all of its descendents to be read-only. |
void |
setLocalizedName(String value)
Optimization to replace a non-localized key with its localized value. |
void |
setName(String value)
Sets the name of this element. |
void |
setStartLine(int lineNumber)
Set the line number for the start tag for this plug-in object. |
String |
toString()
Return a string representation of this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PluginModelObject()
Method Detail |
protected void assertIsWriteable()
public String getName()
null
public int getStartLine()
public boolean isReadOnly()
true
if this model object is read-only,
false
otherwisemarkReadOnly()
public void markReadOnly()
isReadOnly()
public void setLocalizedName(String value)
public void setName(String value)
value
- the new name of this element. May be null
.public void setStartLine(int lineNumber)
lineNumber
- the line number of this object's declaration in the filepublic String toString()
toString
in class Object
Object.toString()
|
Eclipse Platform 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |