Class ContentModelTypeDefinitionParticipant
- java.lang.Object
-
- org.eclipse.lemminx.services.extensions.AbstractTypeDefinitionParticipant
-
- org.eclipse.lemminx.extensions.contentmodel.participants.ContentModelTypeDefinitionParticipant
-
- All Implemented Interfaces:
ITypeDefinitionParticipant
public class ContentModelTypeDefinitionParticipant extends AbstractTypeDefinitionParticipant
Extension to support XML type definition based on content model (XML Schema type definition, etc)
-
-
Constructor Summary
Constructors Constructor Description ContentModelTypeDefinitionParticipant()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoFindTypeDefinition(ITypeDefinitionRequest request, List<org.eclipse.lsp4j.LocationLink> locations, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)Find the type definitionprotected booleanmatch(DOMDocument document)Returns true if the type definition support is applicable for the given document and false otherwise.-
Methods inherited from class org.eclipse.lemminx.services.extensions.AbstractTypeDefinitionParticipant
findTypeDefinition
-
-
-
-
Method Detail
-
match
protected boolean match(DOMDocument document)
Description copied from class:AbstractTypeDefinitionParticipantReturns true if the type definition support is applicable for the given document and false otherwise.- Specified by:
matchin classAbstractTypeDefinitionParticipant- Returns:
- true if the type definition support is applicable for the given document and false otherwise.
-
doFindTypeDefinition
protected void doFindTypeDefinition(ITypeDefinitionRequest request, List<org.eclipse.lsp4j.LocationLink> locations, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Description copied from class:AbstractTypeDefinitionParticipantFind the type definition- Specified by:
doFindTypeDefinitionin classAbstractTypeDefinitionParticipant
-
-