Package org.pentaho.di.ui.core
Class FileDialogOperation
java.lang.Object
org.pentaho.di.ui.core.FileDialogOperation
Created by bmorrise on 8/17/17.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
An image location.static interface
A provider for additional images, to be applied based on pathstatic interface
Will be called whenever files are loaded by this dialogstatic interface
File information and lookup -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
ConstructorDescriptionFileDialogOperation
(String command) FileDialogOperation
(String command, String origin) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.The connection name is in the URI since full "pvfs" paths are being used.getPath()
org.pentaho.di.repository.Repository
org.pentaho.di.repository.RepositoryObjectInterface
getTitle()
boolean
boolean
boolean
boolean
void
setCommand
(String command) void
setConnection
(String connection) Deprecated.The connection name is in the URI since full "pvfs" paths are being used.void
setConnectionTypeFilter
(String connectionTypeFilter) void
To load additional images and define what files they apply tovoid
setDefaultFilter
(String defaultFilter) void
setFileLoadListener
(FileDialogOperation.FileLoadListener fileLoadListener) Add a listener to inspect files as they are loadedvoid
setFilename
(String filename) void
setFileType
(String fileType) void
void
setOpenCondition
(Predicate<String> value) Additional condition for opening a file, based on its pathvoid
void
void
setProvider
(String provider) void
setProviderFilter
(String providerFilter) void
setRepository
(org.pentaho.di.repository.Repository repository) void
setRepositoryObject
(org.pentaho.di.repository.RepositoryObjectInterface repositoryObject) void
setShowOnlyFolders
(boolean value) Omit any files and show only folders in the dialogvoid
setStartDir
(String startDir) void
void
setUseSchemaPath
(boolean useSchemaPath)
-
Field Details
-
SELECT_FOLDER
- See Also:
-
SELECT_FILE
- See Also:
-
SELECT_FILE_FOLDER
- See Also:
-
OPEN
- See Also:
-
SAVE
- See Also:
-
SAVE_AS
- See Also:
-
SAVE_TO
- See Also:
-
SAVE_TO_FILE_FOLDER
- See Also:
-
EXPORT
- See Also:
-
EXPORT_ALL
- See Also:
-
IMPORT
- See Also:
-
ORIGIN_SPOON
- See Also:
-
ORIGIN_OTHER
- See Also:
-
TRANSFORMATION
- See Also:
-
JOB
- See Also:
-
PROVIDER_REPO
- See Also:
-
-
Constructor Details
-
FileDialogOperation
-
FileDialogOperation
-
-
Method Details
-
getCommand
-
setCommand
-
getFilter
-
setFilter
-
getDefaultFilter
-
setDefaultFilter
-
getOrigin
-
setOrigin
-
getRepositoryObject
public org.pentaho.di.repository.RepositoryObjectInterface getRepositoryObject() -
setRepositoryObject
public void setRepositoryObject(org.pentaho.di.repository.RepositoryObjectInterface repositoryObject) -
getStartDir
-
setStartDir
-
getRepository
public org.pentaho.di.repository.Repository getRepository() -
setRepository
public void setRepository(org.pentaho.di.repository.Repository repository) -
getTitle
-
setTitle
-
getFilename
-
setFilename
-
getFileType
-
setFileType
-
getPath
-
setPath
-
getConnection
Deprecated.The connection name is in the URI since full "pvfs" paths are being used.Separate VFS connection name variable is no longer needed. -
setConnection
Deprecated.The connection name is in the URI since full "pvfs" paths are being used.Separate VFS connection name variable is no longer needed. -
getUseSchemaPath
public boolean getUseSchemaPath() -
setUseSchemaPath
public void setUseSchemaPath(boolean useSchemaPath) -
getProvider
-
setProvider
-
getProviderFilter
-
setProviderFilter
-
getConnectionTypeFilter
-
setConnectionTypeFilter
-
isProviderRepository
public boolean isProviderRepository() -
isSaveCommand
public boolean isSaveCommand() -
setCustomImageProvider
To load additional images and define what files they apply to -
getCustomImageProvider
-
getFileLoadListener
-
setFileLoadListener
Add a listener to inspect files as they are loaded -
isShowOnlyFolders
public boolean isShowOnlyFolders() -
setShowOnlyFolders
public void setShowOnlyFolders(boolean value) Omit any files and show only folders in the dialog -
getOpenCondition
-
setOpenCondition
Additional condition for opening a file, based on its path
-