public class MainController extends DefaultController implements Service
| Modifier and Type | Field and Description |
|---|---|
static String |
CMD_CHANGE_TAB |
static String |
CMD_CLOSE_WS |
static String |
CMD_EXIT |
static String |
CMD_LOAD |
static String |
CMD_SAVE |
static String |
CMD_SAVE_AS |
static String |
CMD_SHOW_ABOUT_DIALOG |
static String |
CMD_SHOW_DEVICE_MANAGER |
static String |
CMD_START_WAITING |
static String |
CMD_STOP_WAITING |
static String |
IDENTIFIER |
| Constructor and Description |
|---|
MainController()
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
execChangeTab()
Command is executed after changing a tab.
|
protected void |
execCloseWsCommand()
Command to close a project.
|
protected void |
execExitCommand()
Command to exit the application.
|
protected void |
execLoadCommand()
Command to load a project.
|
protected void |
execSaveAsCommand()
Command to save as a project.
|
protected void |
execSaveCommand()
Command to save the project
|
protected void |
execShowAboutDialog()
Command to show the about dialog
|
protected void |
execShowDeviceManager()
Command to show the device manager.
|
String |
getIdentifier()
Returns the identifier of the service.
|
TabbedView |
getView()
Returns the view component for this specific controller.
|
void |
propertyChange(PropertyChangeEvent event) |
addAction, addController, execute, getAction, getControllers, getLocator, getParent, isRoot, removeAllControllers, removeController, setLocator, setParentpublic static final String CMD_LOAD
public static final String CMD_EXIT
public static final String CMD_SAVE
public static final String CMD_SAVE_AS
public static final String CMD_START_WAITING
public static final String CMD_STOP_WAITING
public static final String CMD_SHOW_ABOUT_DIALOG
public static final String CMD_CLOSE_WS
public static final String CMD_CHANGE_TAB
public static final String CMD_SHOW_DEVICE_MANAGER
public static final String IDENTIFIER
public MainController()
protected void execChangeTab()
protected void execCloseWsCommand()
protected void execExitCommand()
protected void execLoadCommand()
protected void execSaveAsCommand()
protected void execSaveCommand()
protected void execShowAboutDialog()
protected void execShowDeviceManager()
public String getIdentifier()
ServicegetIdentifier in interface Servicepublic TabbedView getView()
ControllergetView in interface Controllerpublic void propertyChange(PropertyChangeEvent event)
propertyChange in interface PropertyChangeListenerpropertyChange in class DefaultControllerCopyright © 2007-2012 Global Information Systems Group, ETH Zurich. All Rights Reserved.