Class LocationResolver
java.lang.Object
org.eclipse.ease.ui.completion.provider.LocationResolver
Resolves file location completion proposals. Helper for file location completion provider.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends Object>
Get all children of this location.Detect part of location that denotes the filter component.Get base folder this location refers to.Get a string representation of the resolved location folder.static final boolean
Detect windows operating system.
-
Constructor Details
-
LocationResolver
-
-
Method Details
-
isWindows
public static final boolean isWindows()Detect windows operating system.- Returns:
true
when executed on a windows based OS
-
getFilterPart
Detect part of location that denotes the filter component. This is the text string following the last delimiter (eg '/').- Returns:
- filter part of location
-
getParentFolder
Get base folder this location refers to.- Returns:
- base folder of this location
-
getChildren
Get all children of this location. Returns the content ofgetParentFolder()
.- Returns:
- content of location base folder
-
getParentString
Get a string representation of the resolved location folder.- Returns:
- location base folder representation
-