public interface SourceRootHelper
SourceRootHelperdefines the protocol by which a class can participate in determining the source root for files of a specific, non-Java file type.
|Modifier and Type||Method and Description|
Gets the URL for the source root associated with the supplied node.
Gets the file-name suffix for the file type that is handled by this helper.
Note: The file extension should represent a non-Java file type.
Classof the node type that is handled by this helper.
Note: The class type must represent a non-Java file type, thus
it should not be
Classof the node type
java.net.URL determineSourceRoot(Node node, boolean errorStatus)
node- A node of the type specified by
errorStatus- Holds the error state for this method. If the URL that is being returned was not determined to be a valid source root,
errorStatusshould be set to