|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
int |
getElementType()
Returns this element's type as an integer. |
java.lang.String |
getID()
Returns a string representation of this element as a handle. |
JotModel |
getJotModel()
Returns the JotModel . |
JotWorkArea |
getJotWorkArea()
Retrieves the JotWorkArea which contains this element,
or null if no JotWorkArea contains this node. |
java.lang.String |
getNodeName()
Returns the name of this element. |
JotElement |
getParent()
Returns the element directly containing this element, or null if this element has no parent. |
boolean |
isExistant()
Determines whether this JotElement currently exists in the model. |
boolean |
isReadOnly()
Returns whether this JotElement is read-only. |
boolean |
isStructureKnown()
Determines whether or not the contents of this element are knowable. |
Method Detail |
public boolean isExistant()
JotElement
currently exists in the model.
As elements to not represent the actual elements found in the tree, there
may be occasion where a client has maintained an old or invalid element.
true
if this element exists in the JotModel
.public boolean isReadOnly()
JotElement
is read-only. The Jot only
permits elements to be written to if their underlying resource is
specifically opened in the environment or contined by the project,
or super-project of this element explicitely, and the resource is not
also read-only
true
if this element is read-only.public java.lang.String getNodeName()
public int getElementType()
JotElement
public java.lang.String getID()
Jot.create(java.lang.String)
.
public JotElement getParent()
null
if this element has no parent.
null
if this element has no parent.public JotWorkArea getJotWorkArea()
JotWorkArea
which contains this element,
or null
if no JotWorkArea
contains this node.
JotWorkArea
which contains this element, or
null
if no JotWorkArea
contains this element.public JotModel getJotModel()
JotModel
.
JotModel
.public boolean isStructureKnown() throws JotException
isStructureKnown
will return false.
JotException
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.