Class ContentDescriptor

java.lang.Object
org.yamcs.studio.autocomplete.parser.ContentDescriptor
Direct Known Subclasses:
FunctionDescriptor, LocalContentDescriptor, PVDescriptor, StateContentDescriptor, SysContentDescriptor

public class ContentDescriptor extends Object
Descriptor used in IContentParser and IAutoCompleteProvider to describe the current auto-completed content.
  • Constructor Details

    • ContentDescriptor

      public ContentDescriptor()
  • Method Details

    • getValue

      public String getValue()
    • setValue

      public void setValue(String value)
    • getAutoCompleteType

      public AutoCompleteType getAutoCompleteType()
    • setAutoCompleteType

      public void setAutoCompleteType(AutoCompleteType autoCompleteType)
    • getContentType

      public ContentType getContentType()
    • setContentType

      public void setContentType(ContentType contentType)
    • getOriginalContent

      public String getOriginalContent()
    • setOriginalContent

      public void setOriginalContent(String originalContent)
    • getStartIndex

      public int getStartIndex()
    • setStartIndex

      public void setStartIndex(int startIndex)
    • getEndIndex

      public int getEndIndex()
    • setEndIndex

      public void setEndIndex(int endIndex)
    • isReplay

      public boolean isReplay()
    • setReplay

      public void setReplay(boolean replay)
    • toString

      public String toString()
      Overrides:
      toString in class Object