|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.datacrow.console.windows.fileimport.FileImportDialog.FileImportMediator
public class FileImportDialog.FileImportMediator
Communicates between the dialog and the process to avoid NullPointerException when asking for values directly from the drop downs and such. This object stores the values as selected by the user and is used by the process.
Constructor Summary | |
---|---|
FileImportDialog.FileImportMediator(FileImportDialog dlg)
|
Method Summary | |
---|---|
void |
addError(java.lang.Throwable e)
Adds an error. |
void |
addMessage(java.lang.String message)
Adds a messages. |
boolean |
cancelled()
Indicates the process has been canceled. |
void |
finish()
Indicate the process has finished. |
DcObject |
getDcContainer()
The container to which the resulted items are added. |
int |
getDirectoryUsage()
The directory usage implementation (free form). |
DcModule |
getModule()
|
Region |
getRegion()
The used region. |
SearchMode |
getSearchMode()
The used search mode. |
IServer |
getServer()
The used server. |
DcObject |
getStorageMedium()
The storage medium to apply on the resulted items. |
void |
initProgressBar(int max)
Sets the expected result count. |
void |
updateProgressBar(int value)
Updates the progress bar to the specified value. |
boolean |
useOnlineServices()
Indicates if online services should be used. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileImportDialog.FileImportMediator(FileImportDialog dlg)
Method Detail |
---|
public void addMessage(java.lang.String message)
IFileImportClient
addMessage
in interface IFileImportClient
public void addError(java.lang.Throwable e)
IFileImportClient
addError
in interface IFileImportClient
public void initProgressBar(int max)
IFileImportClient
initProgressBar
in interface IFileImportClient
public void updateProgressBar(int value)
IFileImportClient
updateProgressBar
in interface IFileImportClient
public boolean cancelled()
IFileImportClient
cancelled
in interface IFileImportClient
public boolean useOnlineServices()
IFileImportClient
useOnlineServices
in interface IFileImportClient
public void finish()
IFileImportClient
finish
in interface IFileImportClient
public SearchMode getSearchMode()
IFileImportClient
getSearchMode
in interface IFileImportClient
public IServer getServer()
IFileImportClient
getServer
in interface IFileImportClient
public Region getRegion()
IFileImportClient
getRegion
in interface IFileImportClient
public DcObject getDcContainer()
IFileImportClient
getDcContainer
in interface IFileImportClient
public DcObject getStorageMedium()
IFileImportClient
getStorageMedium
in interface IFileImportClient
public int getDirectoryUsage()
IFileImportClient
getDirectoryUsage
in interface IFileImportClient
public DcModule getModule()
getModule
in interface IFileImportClient
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |