public class LoadBundleDialog
extends java.lang.Object
Constructor and Description |
---|
LoadBundleDialog(IdvPersistenceManager persistenceManager,
java.lang.String label)
Create me
|
Modifier and Type | Method and Description |
---|---|
void |
addDataSource(DataSource dataSource)
Add the decoded date source to the list
|
void |
addDisplayControl(DisplayControl displayControl)
Add the decoded display to the list
|
void |
appendMessage(java.lang.String msg)
Appen to the message label text
|
void |
clear()
Clear the list of data sources and displays.
|
void |
dispose()
Overwrite dispose to stop the progress bar
|
java.util.List |
getDataSources()
Get the data sources that have been loaded up till now
|
java.util.List |
getDisplayControls()
Get the displays that have been loaded up till now
|
boolean |
getShouldRemoveItems()
Was the laod cancelled
|
boolean |
okToRun()
Has the user pressed cancel yet
|
void |
setMessage(java.lang.String msg)
Set the message label text
|
void |
setMessage1(java.lang.String msg)
Set the message label text
|
void |
setMessage2(java.lang.String msg)
Set the message label text
|
void |
showDialog()
Create and show the gui
|
public LoadBundleDialog(IdvPersistenceManager persistenceManager, java.lang.String label)
persistenceManager
- A reference to the persistence manager in case we need itlabel
- The label to use in the dialog titlepublic void clear()
public void dispose()
public void setMessage(java.lang.String msg)
msg
- The messagepublic void setMessage1(java.lang.String msg)
msg
- The messagepublic void setMessage2(java.lang.String msg)
msg
- The messagepublic void appendMessage(java.lang.String msg)
msg
- The text to appendpublic boolean okToRun()
public void showDialog()
public void addDataSource(DataSource dataSource)
dataSource
- The new data sourcepublic void addDisplayControl(DisplayControl displayControl)
displayControl
- The new displaypublic java.util.List getDataSources()
public java.util.List getDisplayControls()
public boolean getShouldRemoveItems()