trait AbstractClientConnection extends IClientConnection
- Alphabetic
- By Inheritance
- AbstractClientConnection
- IClientConnection
- ILogger
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
allAvailableActions(): Future[Seq[IExecutableAction]]
Calculates the list of all available actions.
Calculates the list of all available actions.
- Definition Classes
- IClientConnection
-
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
-
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
-
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
-
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
-
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
-
abstract
def
documentChanged(document: IChangedDocument): Unit
Notifies the server that document is changed.
Notifies the server that document is changed.
- Definition Classes
- IClientConnection
-
abstract
def
documentClosed(uri: String): Unit
Notified the server that document is closed.
Notified the server that document is closed.
- Definition Classes
- IClientConnection
-
abstract
def
documentOpened(document: IOpenedDocument): Unit
Notifies the server that document is opened.
Notifies the server that document is opened.
- Definition Classes
- IClientConnection
-
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
-
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
-
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
-
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
-
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
-
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
-
abstract
def
getLatestVersion(uri: String): Future[Int]
Gets latest document version.
Gets latest document version.
- Definition Classes
- IClientConnection
-
abstract
def
getStructure(uri: String): Future[Map[String, StructureNodeJSON]]
Requests server for the document structure.
Requests server for the document structure.
- Definition Classes
- IClientConnection
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
abstract
def
stop(): Unit
Stops the server.
Stops the server.
- Definition Classes
- IClientConnection
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addListener[T](memberListeners: Buffer[T], listener: T, unsubscribe: Boolean = false): Unit
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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
- AbstractClientConnection → IClientConnection
-
val
onContentListeners: Buffer[(String) ⇒ Future[String]]
- Attributes
- protected
-
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
- AbstractClientConnection → IClientConnection
-
val
onDetailsReportListeners: Buffer[(IDetailsReport) ⇒ Unit]
- Attributes
- protected
-
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
- AbstractClientConnection → IClientConnection
-
val
onDisplayActionUIListeners: Buffer[(IUIDisplayRequest) ⇒ Future[Any]]
- Attributes
- protected
-
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
- AbstractClientConnection → IClientConnection
-
val
onExistsListeners: Buffer[(String) ⇒ Future[Boolean]]
- Attributes
- protected
-
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
- AbstractClientConnection → IClientConnection
-
val
onIsDirectoryListeners: Buffer[(String) ⇒ Future[Boolean]]
- Attributes
- protected
-
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
- AbstractClientConnection → IClientConnection
-
val
onReadDirListeners: Buffer[(String) ⇒ Future[Seq[String]]]
- Attributes
- protected
-
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
- AbstractClientConnection → IClientConnection
-
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
- AbstractClientConnection → IClientConnection
-
def
setServerConfiguration(serverSettings: IServerConfiguration): Unit
Sets server configuration.
Sets server configuration.
- Definition Classes
- AbstractClientConnection → IClientConnection
-
val
structureReportListeners: Buffer[(IStructureReport) ⇒ Unit]
- Attributes
- protected
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
validationReportListeners: Buffer[(IValidationReport) ⇒ Unit]
- Attributes
- protected
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )