public class FilePathCompletionParticipant extends CompletionParticipantAdapter
<item path="file:///C:/folder" /> <item path="file:///C:/folder file:///C:/file.txt" /> <item path="/folder" />
<!DOCTYPE parent SYSTEM "file.dtd">
Constructor and Description |
---|
FilePathCompletionParticipant() |
Modifier and Type | Method and Description |
---|---|
void |
onAttributeValue(String value,
ICompletionRequest request,
ICompletionResponse response)
Collects and stores attribute value completion items within the provided completion
response
response |
void |
onDTDSystemId(String value,
ICompletionRequest request,
ICompletionResponse response)
Collects and stores systemId completion items within the provided completion
response
response |
onAttributeName, onTagOpen, onXMLContent
public void onAttributeValue(String value, ICompletionRequest request, ICompletionResponse response) throws Exception
ICompletionParticipant
response
onAttributeValue
in interface ICompletionParticipant
onAttributeValue
in class CompletionParticipantAdapter
value
- the attribute value before the offset in which completion was invokedrequest
- the completion requestresponse
- the completion responseException
public void onDTDSystemId(String value, ICompletionRequest request, ICompletionResponse response) throws Exception
ICompletionParticipant
response
onDTDSystemId
in interface ICompletionParticipant
onDTDSystemId
in class CompletionParticipantAdapter
value
- the systemId value before the offset in which completion was invokedrequest
- the completion requestresponse
- the completion responseException
Copyright © 2021. All rights reserved.