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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddArgument(Object arg) getArgs()intbooleanbooleanvoidsetComplete(boolean complete) voidsetCurrentArgIndex(int currentArgIndex) voidsetFunctionName(String functionName) voidsetOpenBracket(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:
toStringin classContentDescriptor
-