Class ListRootElementsCommand
java.lang.Object
org.eclipse.lemminx.extensions.contentmodel.commands.ListRootElementsCommand
- All Implemented Interfaces:
IXMLCommandService.IDelegateCommandHandler
public class ListRootElementsCommand
extends Object
implements IXMLCommandService.IDelegateCommandHandler
XML Command "xml.grammar.listRootElements" to list root elements from a
given grammar (XSD, DTD, RelaxNG, etc.).
The command parameters
ExecuteCommandParams must be filled with 1
parameter:
- grammar URI (String) : the grammar file URI.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classInformation about a root element declaration. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionListRootElementsCommand(ContentModelManager contentModelManager, ProgressSupport progressSupport) -
Method Summary
Modifier and TypeMethodDescriptionexecuteCommand(org.eclipse.lsp4j.ExecuteCommandParams params, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) Executes a command.
-
Field Details
-
COMMAND_ID
- See Also:
-
-
Constructor Details
-
ListRootElementsCommand
public ListRootElementsCommand(ContentModelManager contentModelManager, ProgressSupport progressSupport)
-
-
Method Details