public abstract class AbstractCSDKApplication extends AbstractApplication implements csdk.v2.api.filesystem.project.IProjectContext, csdk.v2.api.filesystem.local.ILocalFileSystemContext, csdk.v2.api.command.ICommandContext
| Constructor and Description |
|---|
AbstractCSDKApplication(csdk.v2.api.core.ICSDKEnvironment csdkInterface)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addProjectObserver(csdk.v2.api.filesystem.project.IProjectObserver observer) |
csdk.v2.api.filesystem.IFile |
browseLocalFileInOpenMode(String[] fileTypes,
boolean allowAll,
csdk.v2.api.filesystem.IFile currentDir,
csdk.v2.api.filesystem.FileSelectionType fileSelectionType,
Window frame) |
csdk.v2.api.filesystem.IFile |
browseLocalFileInSaveMode(String[] fileTypes,
boolean allowAll,
String defaultName,
csdk.v2.api.filesystem.IFile currentDir,
Window frame) |
csdk.v2.api.filesystem.IFile[] |
browseMultipleLocalFilesInOpenMode(String[] fileTypes,
boolean allowAll,
csdk.v2.api.filesystem.IFile currentDir,
csdk.v2.api.filesystem.FileSelectionType fileSelectionType,
Window frame) |
csdk.v2.api.filesystem.IFile[] |
browseMultipleProjectFilesInOpenMode(String[] fileTypes,
boolean allowAll,
csdk.v2.api.filesystem.FileSelectionType selectionType,
Window frame) |
csdk.v2.api.filesystem.IFile |
browseProjectFileInOpenMode(String[] fileTypes,
boolean allowAll,
csdk.v2.api.filesystem.FileSelectionType selectionType,
Window frame) |
csdk.v2.api.filesystem.IFile |
browseProjectFileInSaveMode(String[] fileTypes,
boolean allowAll,
String defaultName,
Window frame) |
csdk.v2.api.filesystem.IFile |
createLocalFile(String[] path,
String name,
boolean isDir) |
csdk.v2.api.filesystem.IFile |
createProjectFile(String[] path,
String name,
String fileType,
Window window) |
protected void |
disposeContexts()
Limpa as referências para os contextos.
|
String |
executeAlgorithm(csdk.v2.api.command.IAlgorithmTemplate info,
String description,
String sgaServerName,
Window owner,
csdk.v2.api.command.ICommandObserver observer) |
String |
executeFlow(csdk.v2.api.command.IFlowTemplate info,
String description,
String sgaServerName,
Window owner,
csdk.v2.api.command.ICommandObserver observer) |
String |
getCurrentProjectId() |
csdk.v2.api.filesystem.IFile |
getLocalFile(String[] path) |
csdk.v2.api.filesystem.IFile |
getProjectFile(String[] path,
Window window) |
boolean |
isCommandContextAvailable()
Indica se o contexto de execução de comandos está disponível.
|
boolean |
isFileSystemContextAvailable()
Indica se o contexto de sistema de arquivo está disponível.
|
boolean |
isProjectContextAvailable()
Indica se o contexto de projetos está disponível.
|
boolean |
isProjectOpen()
Verifica se existe projeto corrente.
|
boolean |
removeLocalFile(String[] path) |
boolean |
removeProjectFile(String[] path,
Window window) |
void |
removeProjectObserver(csdk.v2.api.filesystem.project.IProjectObserver observer) |
broadcastAsyncMessage, canEndApplication, finishApplication, getApplicationDescription, getApplicationFileTypes, getApplicationIcon, getApplicationId, getApplicationName, getAuthor, getAuthorEmail, getCharset, getCharset, getClassString, getContext, getImageIcon, getInstanceId, getLocale, getProperty, getResource, getResourceAsStream, getServerCharset, getSmallApplicationIcon, getString, getVersion, handleException, hasClassString, hasString, isActive, isApplicationContextAvailable, isBundleRequired, isPropertyNull, isSingleton, onApplicationEnd, onAsyncMessageReceived, onContextActivate, onContextDeactivate, onSyncMessageReceived, requiresProject, runApplication, sendAsyncMessage, sendSyncMessageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic AbstractCSDKApplication(csdk.v2.api.core.ICSDKEnvironment csdkInterface)
csdkInterface - interface padrão para o ambiente CSDK.public final csdk.v2.api.filesystem.IFile browseProjectFileInOpenMode(String[] fileTypes, boolean allowAll, csdk.v2.api.filesystem.FileSelectionType selectionType, Window frame) throws csdk.v2.api.filesystem.project.ProjectException
browseProjectFileInOpenMode in interface csdk.v2.api.filesystem.project.IProjectContextcsdk.v2.api.filesystem.project.ProjectExceptionpublic csdk.v2.api.filesystem.IFile[] browseMultipleProjectFilesInOpenMode(String[] fileTypes, boolean allowAll, csdk.v2.api.filesystem.FileSelectionType selectionType, Window frame) throws csdk.v2.api.filesystem.project.ProjectException
browseMultipleProjectFilesInOpenMode in interface csdk.v2.api.filesystem.project.IProjectContextcsdk.v2.api.filesystem.project.ProjectExceptionpublic final csdk.v2.api.filesystem.IFile browseProjectFileInSaveMode(String[] fileTypes, boolean allowAll, String defaultName, Window frame) throws csdk.v2.api.filesystem.project.ProjectException
browseProjectFileInSaveMode in interface csdk.v2.api.filesystem.project.IProjectContextcsdk.v2.api.filesystem.project.ProjectExceptionpublic final csdk.v2.api.filesystem.IFile getProjectFile(String[] path, Window window) throws csdk.v2.api.filesystem.project.ProjectException
getProjectFile in interface csdk.v2.api.filesystem.project.IProjectContextcsdk.v2.api.filesystem.project.ProjectExceptionpublic final csdk.v2.api.filesystem.IFile createProjectFile(String[] path, String name, String fileType, Window window) throws csdk.v2.api.filesystem.project.ProjectException
createProjectFile in interface csdk.v2.api.filesystem.project.IProjectContextcsdk.v2.api.filesystem.project.ProjectExceptionpublic final String getCurrentProjectId()
getCurrentProjectId in interface csdk.v2.api.filesystem.project.IProjectContextpublic void addProjectObserver(csdk.v2.api.filesystem.project.IProjectObserver observer)
addProjectObserver in interface csdk.v2.api.filesystem.project.IProjectContextpublic void removeProjectObserver(csdk.v2.api.filesystem.project.IProjectObserver observer)
removeProjectObserver in interface csdk.v2.api.filesystem.project.IProjectContextpublic boolean removeProjectFile(String[] path, Window window) throws csdk.v2.api.filesystem.project.ProjectException
removeProjectFile in interface csdk.v2.api.filesystem.project.IProjectContextcsdk.v2.api.filesystem.project.ProjectExceptionpublic final csdk.v2.api.filesystem.IFile browseLocalFileInOpenMode(String[] fileTypes, boolean allowAll, csdk.v2.api.filesystem.IFile currentDir, csdk.v2.api.filesystem.FileSelectionType fileSelectionType, Window frame) throws csdk.v2.api.filesystem.local.LocalFileSystemException
browseLocalFileInOpenMode in interface csdk.v2.api.filesystem.local.ILocalFileSystemContextcsdk.v2.api.filesystem.local.LocalFileSystemExceptionpublic csdk.v2.api.filesystem.IFile[] browseMultipleLocalFilesInOpenMode(String[] fileTypes, boolean allowAll, csdk.v2.api.filesystem.IFile currentDir, csdk.v2.api.filesystem.FileSelectionType fileSelectionType, Window frame) throws csdk.v2.api.filesystem.local.LocalFileSystemException
browseMultipleLocalFilesInOpenMode in interface csdk.v2.api.filesystem.local.ILocalFileSystemContextcsdk.v2.api.filesystem.local.LocalFileSystemExceptionpublic final csdk.v2.api.filesystem.IFile browseLocalFileInSaveMode(String[] fileTypes, boolean allowAll, String defaultName, csdk.v2.api.filesystem.IFile currentDir, Window frame) throws csdk.v2.api.filesystem.local.LocalFileSystemException
browseLocalFileInSaveMode in interface csdk.v2.api.filesystem.local.ILocalFileSystemContextcsdk.v2.api.filesystem.local.LocalFileSystemExceptionpublic csdk.v2.api.filesystem.IFile getLocalFile(String[] path) throws csdk.v2.api.filesystem.local.LocalFileSystemException
getLocalFile in interface csdk.v2.api.filesystem.local.ILocalFileSystemContextcsdk.v2.api.filesystem.local.LocalFileSystemExceptionpublic final csdk.v2.api.filesystem.IFile createLocalFile(String[] path, String name, boolean isDir) throws csdk.v2.api.filesystem.local.LocalFileSystemException
createLocalFile in interface csdk.v2.api.filesystem.local.ILocalFileSystemContextcsdk.v2.api.filesystem.local.LocalFileSystemExceptionpublic boolean removeLocalFile(String[] path) throws csdk.v2.api.filesystem.local.LocalFileSystemException
removeLocalFile in interface csdk.v2.api.filesystem.local.ILocalFileSystemContextcsdk.v2.api.filesystem.local.LocalFileSystemExceptionpublic final String executeAlgorithm(csdk.v2.api.command.IAlgorithmTemplate info, String description, String sgaServerName, Window owner, csdk.v2.api.command.ICommandObserver observer) throws csdk.v2.api.command.CommandException
executeAlgorithm in interface csdk.v2.api.command.ICommandContextcsdk.v2.api.command.CommandExceptionpublic final String executeFlow(csdk.v2.api.command.IFlowTemplate info, String description, String sgaServerName, Window owner, csdk.v2.api.command.ICommandObserver observer) throws csdk.v2.api.command.CommandException
executeFlow in interface csdk.v2.api.command.ICommandContextcsdk.v2.api.command.CommandExceptionpublic boolean isProjectContextAvailable()
true se o contexto estiver disponível ou
false caso contrário.public boolean isProjectOpen()
true caso exista um projeto aberto ou
false caso contrário.public boolean isFileSystemContextAvailable()
true se o contexto estiver disponível ou
false caso contrário.public boolean isCommandContextAvailable()
true se o contexto estiver disponível ou
false caso contrário.protected void disposeContexts()
disposeContexts in class AbstractApplicationCopyright © 2016 Tecgraf/PUC-Rio. All rights reserved.