|
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.explorer.ExplorerContextUtil
The ExplorerContextUtil class is a utility class that
can be used to get at the extra data the ExplorerWindow stores
in the the Context.
| Constructor Summary | |
ExplorerContextUtil()
|
|
| Method Summary | |
static TNode[] |
getAllTNodes(Context context)
Returns the array of selected TNode objects from the specified
Context if there are one or more Element objects
selected in the Context and those Element objects have
corresponding TNode objects. |
static TNode |
getFirstTNode(Context context)
Returns the first selected TNode from the specified Context if there is at least one Element selected in the
Context and that Element has a corresponding TNode. |
static TNode |
getSingleTNode(Context context)
Returns the selected TNode from the specified Context
if there is only one Element selected in the Context
and that Element has a corresponding TNode. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExplorerContextUtil()
| Method Detail |
public static TNode getSingleTNode(Context context)
TNode from the specified Context
if there is only one Element selected in the Context
and that Element has a corresponding TNode.
public static TNode getFirstTNode(Context context)
TNode from the specified Context if there is at least one Element selected in the
Context and that Element has a corresponding TNode.
public static TNode[] getAllTNodes(Context context)
TNode objects from the specified
Context if there are one or more Element objects
selected in the Context and those Element objects have
corresponding TNode objects.
|
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.