|
JIVE Platform Release 0.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.buffalo.cse.jive.ui.search.SelectionTokenizer
public class SelectionTokenizer
Utility class used to tokenize an ISelection
into various components
representing Java elements. This class can be used to initialize query input
fields.
Constructor Summary | |
---|---|
SelectionTokenizer(ISelection selection)
Constructs a tokenizer for the supplied ISelection and tokenizes
it. |
Method Summary | |
---|---|
String |
getClassName()
Returns the fully-qualified class name associated with the Selection , or the empty string if there is none. |
String |
getMethodName()
Returns the method name associated with the ISelection , or the
empty string if there is none. |
String |
getVariableName()
Returns the variable name associated with the ISelection , or the
empty string if there is none. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectionTokenizer(ISelection selection)
ISelection
and tokenizes
it.
selection
- the selection to tokenizeMethod Detail |
---|
public String getClassName()
Selection
, or the empty string if there is none.
public String getVariableName()
ISelection
, or the
empty string if there is none.
public String getMethodName()
ISelection
, or the
empty string if there is none.
|
JIVE Platform Release 0.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |