IURISelectionContext Interface
com.bea.ide.ui
IURISelectionContext Interface
- public interface IURISelectionContext
A set of selected URIs.
Note that not all URI's in the Application are file-based.
The application property PROP_FocusedURIs will be set to an object of this type when
the focus changes to a new set of URIs.
public boolean |
-
containsOnlyFilesOrDirectories ()
- Returns true if *all* of the URIs for items or containers have
"file" for the scheme.
|
public String [] |
-
getContainerNames ()
- Returns the names of all selected containers
|
public URI [] |
-
getContainers ()
- Returns the URIs of all selected containers
|
public String [] |
-
getDirectoryNames ()
- Returns the names of all file-based nodes that are directories
|
public URI [] |
-
getDirectoryURIs ()
- Returns the URIs of all file-based nodes that are directories,
as file-based uris
(e.g.
|
public URI [] |
-
getFileURIs ()
- Returns the URIs of all file-based selected nodes.
|
public String [] |
-
getItemNames ()
- Returns the names of all selected items that are not containers, e.g. files
|
public URI [] |
-
getItems ()
- Returns the URIs of all selected items that are not containers, e.g. files
|
public String [] |
-
getNames ()
- Returns the names of all selected nodes
|
public URI [] |
-
getURIs ()
- Returns the URIs of all selected nodes.
|
containsOnlyFilesOrDirectories() Method
public boolean containsOnlyFilesOrDirectories()
Returns true if *all* of the URIs for items or containers have
"file" for the scheme.
getContainerNames() Method
public String
[] getContainerNames()
Returns the names of all selected containers
getContainers() Method
public URI
[] getContainers()
Returns the URIs of all selected containers
getDirectoryNames() Method
public String
[] getDirectoryNames()
Returns the names of all file-based nodes that are directories
getDirectoryURIs() Method
public URI
[] getDirectoryURIs()
Returns the URIs of all file-based nodes that are directories,
as file-based uris
(e.g. Project directories change from "project:/c:/foo" to "file:/c/foo")
getFileURIs() Method
public URI
[] getFileURIs()
Returns the URIs of all file-based selected nodes.
getItemNames() Method
public String
[] getItemNames()
Returns the names of all selected items that are not containers, e.g. files
getItems() Method
public URI
[] getItems()
Returns the URIs of all selected items that are not containers, e.g. files
getNames() Method
public String
[] getNames()
Returns the names of all selected nodes
getURIs() Method
public URI
[] getURIs()
Returns the URIs of all selected nodes.
Note that some URIs may have non-file schemes.