public class ResolveCodeActionRequest extends Object implements ICodeActionResolverRequest
| Constructor and Description |
|---|
ResolveCodeActionRequest(org.eclipse.lsp4j.CodeAction unresolved,
DOMDocument document,
IComponentProvider componentProvider,
SharedSettings sharedSettings) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getComponent(Class clazz)
Returns the component class instance from the given class and null otherwise.
|
String |
getDataProperty(String property)
Returns the data property value of the given
fieldName and null
otherwise. |
DOMDocument |
getDocument()
Returns the DOM document.
|
String |
getParticipantId()
Returns the participant ID
ICodeActionResolvesParticipant which must
resolve the unresolved code action. |
SharedSettings |
getSharedSettings()
Returns the shared settings.
|
org.eclipse.lsp4j.CodeAction |
getUnresolved()
Returns the unresolved code action.
|
XMLGenerator |
getXMLGenerator(org.eclipse.lsp4j.Range range)
Returns the XML generator and null otherwise.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocument, getSharedSettingsgetComponentpublic ResolveCodeActionRequest(org.eclipse.lsp4j.CodeAction unresolved,
DOMDocument document,
IComponentProvider componentProvider,
SharedSettings sharedSettings)
public org.eclipse.lsp4j.CodeAction getUnresolved()
ICodeActionResolverRequestgetUnresolved in interface ICodeActionResolverRequestpublic String getParticipantId()
ICodeActionResolverRequestICodeActionResolvesParticipant which must
resolve the unresolved code action.getParticipantId in interface ICodeActionResolverRequestICodeActionResolvesParticipant which must
resolve the unresolved code action.public String getDataProperty(String property)
ICodeActionResolverRequestfieldName and null
otherwise.getDataProperty in interface ICodeActionResolverRequestproperty - the field name.fieldName and null
otherwise.public XMLGenerator getXMLGenerator(org.eclipse.lsp4j.Range range) throws BadLocationException
ICodeActionResolverRequestgetXMLGenerator in interface ICodeActionResolverRequestrange - the range of the Code ActionBadLocationExceptionpublic <T> T getComponent(Class clazz)
IComponentProvidergetComponent in interface IComponentProviderclazz - class of the component.public DOMDocument getDocument()
IBaseCodeActionRequestgetDocument in interface IBaseCodeActionRequestpublic SharedSettings getSharedSettings()
IBaseCodeActionRequestgetSharedSettings in interface IBaseCodeActionRequestCopyright © 2023. All rights reserved.