public class FolderTreePanel.FolderTreeSelection extends Object
Constructor and Description |
---|
FolderTreePanel.FolderTreeSelection(IProject project,
IAbstractFolder parent,
IAbstractFolder folder)
Constructs a new folder tree selection object with the given
information.
|
Modifier and Type | Method and Description |
---|---|
IAbstractFolder |
getFolder()
Returns the selected folder.
|
IAbstractFolder |
getParent()
Returns the parent of the selected element or null if the parent is a
project.
|
IProject |
getProject()
Returns the project of the selected element.
|
boolean |
isVirtualFolder()
Returns true if the selected folder is a virtual folder and does not
exist on the hard disk.
|
public FolderTreePanel.FolderTreeSelection(IProject project, IAbstractFolder parent, IAbstractFolder folder)
project
- the project of the selected elementparent
- the parent of the selected element or null if the parent
is a projectfolder
- the selected folderpublic IProject getProject()
public IAbstractFolder getParent()
public IAbstractFolder getFolder()
public boolean isVirtualFolder()