|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jupe.plugin.dialogs.resourcetree.FileChooseDialog
public class FileChooseDialog
Class opens a dialog that presents system file elements (folder, files) in a tree.
Field Summary | |
---|---|
static int |
SHOW_PROJECT_RESOURCES
flag to show project itself and all subfolder in a project that contains files with specified file extension |
static int |
SHOW_PROJECT_SUBFOLDERS_ONLY
flag to show project itself and project subfolders only, no file will be displayed |
static int |
SHOW_SUBFOLDERS_ONLY
flag to show project subfolders only, no file will be diplayed |
static int |
SHOW_SUBFOLDERS_RESOURCES
flag to show all subfolder in a project that contains files with specified file extension |
static int |
SHOW_WORKSPACE_PROJECT_RESOURCES
flag to show complete workspace including all projects, subfolders and files |
static int |
SHOW_WORKSPACE_PROJECTS_ONLY
flag to show all projects regardless their nature, no subfolder or files will be displayed |
Constructor Summary | |
---|---|
FileChooseDialog(java.lang.String dialogTitle,
java.lang.String dialogMessage)
Constructor |
Method Summary | |
---|---|
org.eclipse.core.resources.IResource |
openDialogForAllResourcesInAProject(org.eclipse.core.resources.IProject project)
Method opens file choose dialog on the specified project to show all the subfolders and resources in the specified project. |
org.eclipse.core.resources.IResource |
openDialogForProjectAndSubFoldersInAProject(org.eclipse.core.resources.IProject currentProject)
Method opens file choose dialog on the specified project to show all the subfolders in the specified project and the project itself. |
org.eclipse.core.resources.IResource |
openDialogForProjectsOnly(java.lang.String natureId)
Method opens file choose dialog on workspace to show all projects with given nature. |
org.eclipse.core.resources.IResource |
openDialogForResourcesInAProject(org.eclipse.core.resources.IProject project,
java.lang.String[] fileExtensions,
boolean isFolderSelectable)
Method opens file choose dialog on workspace to show all projects with given nature. |
org.eclipse.core.resources.IResource |
openDialogForSubFoldersInAProject(org.eclipse.core.resources.IProject project)
Method opens file choose dialog on the specified project to show the all subfolders in the specified project. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SHOW_WORKSPACE_PROJECTS_ONLY
public static final int SHOW_SUBFOLDERS_ONLY
public static final int SHOW_PROJECT_SUBFOLDERS_ONLY
public static final int SHOW_SUBFOLDERS_RESOURCES
public static final int SHOW_WORKSPACE_PROJECT_RESOURCES
public static final int SHOW_PROJECT_RESOURCES
Constructor Detail |
---|
public FileChooseDialog(java.lang.String dialogTitle, java.lang.String dialogMessage)
dialogTitle
- dialog titledialogMessage
- dialog messageMethod Detail |
---|
public org.eclipse.core.resources.IResource openDialogForAllResourcesInAProject(org.eclipse.core.resources.IProject project)
project
- project to use
null
if dialog was canceledpublic org.eclipse.core.resources.IResource openDialogForProjectAndSubFoldersInAProject(org.eclipse.core.resources.IProject currentProject)
currentProject
- project to use
null
if dialog was canceledpublic org.eclipse.core.resources.IResource openDialogForProjectsOnly(java.lang.String natureId)
natureId
- nature of projects to show
null
if dialog was
cancledpublic org.eclipse.core.resources.IResource openDialogForResourcesInAProject(org.eclipse.core.resources.IProject project, java.lang.String[] fileExtensions, boolean isFolderSelectable)
project
- project to usefileExtensions
- file extensions of resource to showisFolderSelectable
- if true folder can be selected as project resource
null
if dialog was
cancledpublic org.eclipse.core.resources.IResource openDialogForSubFoldersInAProject(org.eclipse.core.resources.IProject project)
project
- project to use
null
if dialog was cancled
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |