Class FunctionDescriptor
java.lang.Object
org.yamcs.studio.autocomplete.parser.ContentDescriptor
org.yamcs.studio.autocomplete.parser.FunctionDescriptor
Descriptor used in
IContentParser
and IAutoCompleteProvider
to describe a content matching a
function.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addArgument
(Object arg) getArgs()
int
boolean
boolean
void
setComplete
(boolean complete) void
setCurrentArgIndex
(int currentArgIndex) void
setFunctionName
(String functionName) void
setOpenBracket
(boolean hasOpenBracket) toString()
Methods inherited from class org.yamcs.studio.autocomplete.parser.ContentDescriptor
getAutoCompleteType, getContentType, getEndIndex, getOriginalContent, getStartIndex, getValue, isReplay, setAutoCompleteType, setContentType, setEndIndex, setOriginalContent, setReplay, setStartIndex, setValue
-
Constructor Details
-
FunctionDescriptor
public FunctionDescriptor()
-
-
Method Details
-
addArgument
-
getArgs
-
getFunctionName
-
setFunctionName
-
isComplete
public boolean isComplete() -
setComplete
public void setComplete(boolean complete) -
hasOpenBracket
public boolean hasOpenBracket() -
setOpenBracket
public void setOpenBracket(boolean hasOpenBracket) -
getCurrentArgIndex
public int getCurrentArgIndex() -
setCurrentArgIndex
public void setCurrentArgIndex(int currentArgIndex) -
toString
- Overrides:
toString
in classContentDescriptor
-