|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectViewerFilter
com.ibm.etools.systems.files.importexport.RemoteImportExportDescriptionFilesViewerFilter
This class defines a viewer filter that can be used with a selection dialog, e.g. ElementTreeSelectionDialog
.
The viewer filter only allows description files for import/export. Current known extensions are defined
in class RemoteFileImportExportConstants
.
Field Summary | |
---|---|
static int |
EXPORT_ONLY
Constant indicating that only descriptor files for exports should be allowed. |
static int |
IMPORT_EXPORT
Constant indicating descriptor files for both import and export should be allowed. |
static int |
IMPORT_ONLY
Constant indicating that only descriptor files for imports should be allowed. |
Constructor Summary | |
---|---|
RemoteImportExportDescriptionFilesViewerFilter(int mode)
Constructor. |
Method Summary | |
---|---|
boolean |
select(Viewer viewer,
Object parentElement,
Object element)
Allows containers and import/export description files. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int IMPORT_EXPORT
public static final int IMPORT_ONLY
public static final int EXPORT_ONLY
Constructor Detail |
public RemoteImportExportDescriptionFilesViewerFilter(int mode)
mode
- the mode. One of IMPORT_EXPORT
, IMPORT_ONLY
, or EXPORT_ONLY
.Method Detail |
public boolean select(Viewer viewer, Object parentElement, Object element)
ViewerFilter
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |