|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DTSEditorModuleMgr
Provides access to necessary DTSEditor functions and DTS Services to use in DTS Editor modules.
Method Summary | |
---|---|
JDialog |
createDialog(JPanel panel,
String panelName)
Creates a new JDialog for the JPanel. |
JDialog |
createDialog(JPanel panel,
String panelName,
int width,
int height)
Creates a new JDialog for the JPanel. |
JDialog |
createDialog(JPanel panel,
String panelName,
int width,
int height,
boolean cascade)
Creates a new JDialog for the JPanel. |
JDialog |
createDialog(JPanel panel,
String panelName,
int width,
int height,
boolean cascade,
Preferences preference)
Creates a new JDialog for the JPanel. |
DTSEditorConfig |
getDTSEditorConfig()
Get the current DTS Editor Configuration settings. |
JTabbedPane |
getLeftTabbedPane()
Get the JTabbedPane representing the left side panel configuration of the DTS Editor. |
JTabbedPane |
getRightTabbedPane()
Get the JTabbedPane representing the right side panel configuration of the DTS Editor. |
ServerConnection |
getServerConnection()
Get the DTS Editor's Current Connection to the Server |
void |
handleException(String msg,
Exception ex)
Handle any Exception. |
void |
registerConnectionListener(DtsConnectionListener listener)
Register this DtsConnectionListener object. |
void |
showErrorMessage(String message)
Displays an error message in a dialog by simply passing the message to be displayed. |
void |
showHelpPanel(URL url)
This method shows the help page along with the default browser registered in the system. |
void |
unregisterConnectionListener(DtsConnectionListener listener)
Unregister this DtsConnectionListener object. |
Method Detail |
---|
DTSEditorConfig getDTSEditorConfig()
JTabbedPane getLeftTabbedPane()
JTabbedPane
object to add a panel to the left tabbed pane.
JTabbedPane getRightTabbedPane()
JTabbedPane
object to add a panel to the right tabbed pane.
void registerConnectionListener(DtsConnectionListener listener)
DtsConnectionListener
object.
listener
- a valid DtsConnectionListenerObjectDtsConnectionListener
void unregisterConnectionListener(DtsConnectionListener listener)
DtsConnectionListener
object.
listener
- a valid DtsConnectionListenerObjectDtsConnectionListener
ServerConnection getServerConnection()
JDialog createDialog(JPanel panel, String panelName)
panel
- JPanel
this dialog will containpanelName
- Name of the Panel. Set as the title of the Dialog
JDialog createDialog(JPanel panel, String panelName, int width, int height)
panel
- JPanel
this dialog will containpanelName
- Name of the Panel. Set as the title of the Dialogwidth
- Default width. This is used if a value is not obtained from saved setting.height
- Default height. This is used if a value is not obtained from saved setting.
JDialog createDialog(JPanel panel, String panelName, int width, int height, boolean cascade)
The size and location of the dialog created is saved in Preference of the given panel class node.
panel
- JPanel
this dialog will containpanelName
- Name of the Panel. Set as the title of the Dialogwidth
- Default width. This is used if a value is not obtained from saved setting.height
- Default height. This is used if a value is not obtained from saved setting.cascade
- If true, cascade, else not
JDialog createDialog(JPanel panel, String panelName, int width, int height, boolean cascade, Preferences preference)
If a prefernce is supplied, the dialog will use the size and location from the preference. The size and location of the dialog created is saved in the given Preference when the dialog moves or is resized.
panel
- JPanel
this dialog will containpanelName
- Name of the Panel. Set as the title of the Dialogwidth
- Default width. This is used if a value is not obtained from saved setting.height
- Default height. This is used if a value is not obtained from saved setting.cascade
- If true, cascade, else notpreference
- Preference to store location and size of the dialog
void showHelpPanel(URL url)
url
- File URL of the help file.void showErrorMessage(String message)
message
- message to be displayedvoid handleException(String msg, Exception ex)
msg
and log the exception. It will attempt to decode the Exception, combine it
with the message argument and display the extended message in an error dialog.
It will pop up an error message if the DTS socket server connection has been lost.
msg
- message to be displayedex
- DTSExceptionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |