Packages

t

org.mulesoft.language.client.client

AbstractClientConnection

trait AbstractClientConnection extends IClientConnection

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractClientConnection
  2. IClientConnection
  3. ILogger
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def allAvailableActions(): Future[Seq[IExecutableAction]]

    Calculates the list of all available actions.

    Calculates the list of all available actions.

    Definition Classes
    IClientConnection
  2. abstract def calculateEditorContextActions(uri: String, position: Int): Future[Seq[IExecutableAction]]

    Calculates the list of executable actions avilable in the current context.

    Calculates the list of executable actions avilable in the current context.

    uri

    - document uri.

    position

    - optional position in the document. If not provided, the last reported by positionChanged method will be used.

    Definition Classes
    IClientConnection
  3. abstract def changeDetailValue(uri: String, position: Int, itemID: String, value: AnyVal): Future[Seq[IChangedDocument]]

    Changes value of details item.

    Changes value of details item.

    uri

    - uri of the document to change

    position

    - position of the value to change

    itemID

    - identifier of the value to change

    value

    - new value

    Definition Classes
    IClientConnection
  4. abstract def debug(message: String, component: String, subcomponent: String): Unit

    Logs a DEBUG severity message.

    Logs a DEBUG severity message.

    message

    - message text

    component

    - component name

    subcomponent

    - sub-component name

    Definition Classes
    ILogger
  5. abstract def debugDetail(message: String, component: String, subcomponent: String): Unit

    Logs a DEBUG_DETAIL severity message.

    Logs a DEBUG_DETAIL severity message.

    message

    - message text

    component

    - component name

    subcomponent

    - sub-component name

    Definition Classes
    ILogger
  6. abstract def debugOverview(message: String, component: String, subcomponent: String): Unit

    Logs a DEBUG_OVERVIEW severity message.

    Logs a DEBUG_OVERVIEW severity message.

    message

    - message text

    component

    - component name

    subcomponent

    - sub-component name

    Definition Classes
    ILogger
  7. abstract def documentChanged(document: IChangedDocument): Unit

    Notifies the server that document is changed.

    Notifies the server that document is changed.

    Definition Classes
    IClientConnection
  8. abstract def documentClosed(uri: String): Unit

    Notified the server that document is closed.

    Notified the server that document is closed.

    Definition Classes
    IClientConnection
  9. abstract def documentOpened(document: IOpenedDocument): Unit

    Notifies the server that document is opened.

    Notifies the server that document is opened.

    Definition Classes
    IClientConnection
  10. abstract def error(message: String, component: String, subcomponent: String): Unit

    Logs an ERROR severity message.

    Logs an ERROR severity message.

    message

    - message text

    component

    - component name

    subcomponent

    - sub-component name

    Definition Classes
    ILogger
  11. abstract def executeContextAction(uri: String, action: IExecutableAction, position: Int): Future[Seq[IChangedDocument]]

    Executes the specified action.

    Executes the specified action. If action has UI, causes a consequent server->client UI message resulting in onDisplayActionUI listener call.

    uri

    - document uri

    action

    - action to execute.

    position

    - optional position in the document. If not provided, the last reported by positionChanged method will be used.

    Definition Classes
    IClientConnection
  12. abstract def executeContextActionByID(uri: String, actionID: String, position: Int): Future[Seq[IChangedDocument]]

    Executes the specified action.

    Executes the specified action. If action has UI, causes a consequent server->client UI message resulting in onDisplayActionUI listener call.

    uri

    - document uri

    actionID

    - actionID to execute.

    position

    - optional position in the document. If not provided, the last reported by positionChanged method will be used.

    Definition Classes
    IClientConnection
  13. abstract def executeDetailsAction(uri: String, actionID: String, position: Int): Future[Seq[IChangedDocument]]

    Executes the specified details action.

    Executes the specified details action.

    uri

    - document uri

    actionID

    - ID of the action to execute.

    position

    - optional position in the document. If not provided, the last reported by positionChanged method will be used.

    Definition Classes
    IClientConnection
  14. abstract def findReferences(uri: String, position: Int): Future[Seq[ILocation]]

    Requests server for the positions of the references of the element defined at the given document position.

    Requests server for the positions of the references of the element defined at the given document position.

    uri

    - document uri

    position

    - position in the document

    Definition Classes
    IClientConnection
  15. abstract def getDetails(uri: String, position: Int): Future[IDetailsItem]

    Requests server for the document+position details.

    Requests server for the document+position details.

    Definition Classes
    IClientConnection
  16. abstract def getLatestVersion(uri: String): Future[Int]

    Gets latest document version.

    Gets latest document version.

    Definition Classes
    IClientConnection
  17. abstract def getStructure(uri: String): Future[Map[String, StructureNodeJSON]]

    Requests server for the document structure.

    Requests server for the document structure.

    Definition Classes
    IClientConnection
  18. abstract def getSuggestions(uri: String, position: Int): Future[Seq[ISuggestion]]

    Requests server for the suggestions.

    Requests server for the suggestions.

    uri

    - document uri

    position

    - offset in the document, starting from 0

    Definition Classes
    IClientConnection
  19. abstract def log(message: String, severity: common.logger.MessageSeverity.Value, component: String, subcomponent: String): Unit

    Logs a message

    Logs a message

    message

    - message text

    severity

    - message severity

    component

    - component name

    subcomponent

    - sub-component name

    Definition Classes
    ILogger
  20. abstract def markOccurrences(uri: String, position: Int): Future[Seq[IRange]]

    Requests server for the occurrences of the element defined at the given document position.

    Requests server for the occurrences of the element defined at the given document position.

    uri

    - document uri

    position

    - position in the document

    Definition Classes
    IClientConnection
  21. abstract def openDeclaration(uri: String, position: Int): Future[Seq[ILocation]]

    Requests server for the positions of the declaration of the element defined at the given document position.

    Requests server for the positions of the declaration of the element defined at the given document position.

    uri

    - document uri

    position

    - position in the document

    Definition Classes
    IClientConnection
  22. abstract def positionChanged(uri: String, position: Int): Unit

    Reports to the server the position (cursor) change on the client.

    Reports to the server the position (cursor) change on the client.

    uri

    - document uri.

    position

    - curtsor position, starting from 0.

    Definition Classes
    IClientConnection
  23. abstract def rename(uri: String, position: Int, newName: String): Future[Seq[IChangedDocument]]

    Requests server for rename of the element at the given document position.

    Requests server for rename of the element at the given document position.

    uri

    - document uri

    position

    - position in the document

    Definition Classes
    IClientConnection
  24. abstract def setLoggerConfiguration(loggerSettings: ILoggerSettings): Unit

    Sets logger configuration, both for the server and for the client.

    Sets logger configuration, both for the server and for the client.

    Definition Classes
    ILogger
  25. abstract def stop(): Unit

    Stops the server.

    Stops the server.

    Definition Classes
    IClientConnection
  26. abstract def warning(message: String, component: String, subcomponent: String): Unit

    Logs a WARNING severity message.

    Logs a WARNING severity message.

    message

    - message text

    component

    - component name

    subcomponent

    - sub-component name

    Definition Classes
    ILogger

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addListener[T](memberListeners: Buffer[T], listener: T, unsubscribe: Boolean = false): Unit
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  16. def onContent(listener: (String) ⇒ Future[String], unsubscribe: Boolean = false): Unit

    Listens to the server requests for file contents, answering what contents file has.

    Listens to the server requests for file contents, answering what contents file has.

    Definition Classes
    AbstractClientConnectionIClientConnection
  17. val onContentListeners: Buffer[(String) ⇒ Future[String]]
    Attributes
    protected
  18. def onDetailsReport(listener: (IDetailsReport) ⇒ Unit, unsubscribe: Boolean = false): Unit

    Report from the server that the new details are calculated for particular document and position.

    Report from the server that the new details are calculated for particular document and position.

    Definition Classes
    AbstractClientConnectionIClientConnection
  19. val onDetailsReportListeners: Buffer[(IDetailsReport) ⇒ Unit]
    Attributes
    protected
  20. def onDisplayActionUI(listener: (IUIDisplayRequest) ⇒ Future[Any], unsubscribe: Boolean = false): Unit

    Adds a listener to display action UI.

    Adds a listener to display action UI.

    listener

    - accepts UI display request, should result in a promise returning final UI state to be transferred to the server.

    Definition Classes
    AbstractClientConnectionIClientConnection
  21. val onDisplayActionUIListeners: Buffer[(IUIDisplayRequest) ⇒ Future[Any]]
    Attributes
    protected
  22. def onExists(listener: (String) ⇒ Future[Boolean], unsubscribe: Boolean = false): Unit

    Listens to the server requests for FS path existence, answering whether a particular path exists on FS.

    Listens to the server requests for FS path existence, answering whether a particular path exists on FS.

    Definition Classes
    AbstractClientConnectionIClientConnection
  23. val onExistsListeners: Buffer[(String) ⇒ Future[Boolean]]
    Attributes
    protected
  24. def onIsDirectory(listener: (String) ⇒ Future[Boolean], unsubscribe: Boolean = false): Unit

    Listens to the server requests for directory check, answering whether a particular path is a directory.

    Listens to the server requests for directory check, answering whether a particular path is a directory.

    Definition Classes
    AbstractClientConnectionIClientConnection
  25. val onIsDirectoryListeners: Buffer[(String) ⇒ Future[Boolean]]
    Attributes
    protected
  26. def onReadDir(listener: (String) ⇒ Future[Seq[String]], unsubscribe: Boolean = false): Unit

    Listens to the server requests for directory contents, answering with a list of files in a directory.

    Listens to the server requests for directory contents, answering with a list of files in a directory.

    Definition Classes
    AbstractClientConnectionIClientConnection
  27. val onReadDirListeners: Buffer[(String) ⇒ Future[Seq[String]]]
    Attributes
    protected
  28. def onStructureReport(listener: (IStructureReport) ⇒ Unit, unsubscribe: Boolean = false): Unit

    Instead of calling getStructure to get immediate structure report for the document, this method allows to launch to the new structure reports when those are available.

    Instead of calling getStructure to get immediate structure report for the document, this method allows to launch to the new structure reports when those are available.

    Definition Classes
    AbstractClientConnectionIClientConnection
  29. def onValidationReport(listener: (IValidationReport) ⇒ Unit, unsubscribe: Boolean = false): Unit

    Adds a listener for validation report coming from the server.

    Adds a listener for validation report coming from the server.

    Definition Classes
    AbstractClientConnectionIClientConnection
  30. def setServerConfiguration(serverSettings: IServerConfiguration): Unit

    Sets server configuration.

    Sets server configuration.

    Definition Classes
    AbstractClientConnectionIClientConnection
  31. val structureReportListeners: Buffer[(IStructureReport) ⇒ Unit]
    Attributes
    protected
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. val validationReportListeners: Buffer[(IValidationReport) ⇒ Unit]
    Attributes
    protected
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from IClientConnection

Inherited from ILogger

Inherited from AnyRef

Inherited from Any

Ungrouped