|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WorkbenchConfiguration
Defines properties to configure the workbench.
This interface is not intended to be implemented by clients.
MDWorkbench.getConfiguration()| Method Summary | |
|---|---|
CommandLine |
getCommandLine()
Returns the command line that launched the workbench. |
Logger |
getLogger()
Returns the logger, used to display errors and warnings, as well as debugging information. |
MDWorkbench |
getWorkbench()
Return the configured workbench. |
boolean |
isHeadless()
Determines wheter the workbench runs in headless mode (no user interface). |
void |
setCommandLine(CommandLine commandLine)
Sets the command line that launched the workbench. |
void |
setHeadless(boolean headless)
Specifies wheter the workbench runs in headless mode (no user interface). |
void |
setLogger(Logger logger)
Sets the logger to use to display errors and warnings, as well as debugging information. |
| Method Detail |
|---|
MDWorkbench getWorkbench()
boolean isHeadless()
This property can be used for example by template and script designers to check wheter they should request options to the end-user through an dialog box or a configuration file.
true if the workbench runs in headless mode (no user interface), false otherwise.void setHeadless(boolean headless)
headless - true if the workbench should runs in headless mode (no user interface), false otherwise.Logger getLogger()
void setLogger(Logger logger)
logger - the logger.CommandLine getCommandLine()
void setCommandLine(CommandLine commandLine)
commandLine - the command line.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||