|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mockcentral.editor.MockCentralApplication
public class MockCentralApplication
A class used to manage the various components that constitute the application
used to edit Mock Central configuration files. Provides methods to register
and access the IMockCentralEditor,
IMockCentralEditorOutline,
IMockCentralDialogFactory and IMockCentralLogger
implementations.
| Constructor Summary | |
|---|---|
MockCentralApplication()
|
|
| Method Summary | |
|---|---|
static IMockCentralDialogFactory |
getDialogFactory()
Returns the IMockCentralDialogFactory implementation. |
static IMockCentralEditor |
getEditor()
Returns the IMockCentralEditor implementation. |
static IMockCentralLogger |
getLogger()
Returns the IMockCentralLogger used to log info and
error-level information. |
static IMockCentralEditorOutline |
getOutline()
Returns the IMockCentralEditorOutline implementation. |
static java.lang.Class<?> |
loadClass(java.lang.String className)
Returns the Class specified by the supplied name. |
static void |
nodeProblemsChanged()
Notification that NodeProblem list has changed. |
static void |
setDialogFactory(IMockCentralDialogFactory dialogFactory)
Sets the IMockCentralDialogFactory implementation. |
static void |
setEditor(IMockCentralEditor editor)
Sets the IMockCentralEditor implementation. |
static void |
setLogger(IMockCentralLogger logger)
Sets the IMockCentralLogger used to log info and error-level
information. |
static void |
setOutline(IMockCentralEditorOutline outline)
Sets the IMockCentralEditorOutline implementation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MockCentralApplication()
| Method Detail |
|---|
public static void setEditor(IMockCentralEditor editor)
IMockCentralEditor implementation.
editor - the IMockCentralEditor implementation.public static IMockCentralEditor getEditor()
IMockCentralEditor implementation.
IMockCentralEditor implementation.public static void setOutline(IMockCentralEditorOutline outline)
IMockCentralEditorOutline implementation.
outline - the IMockCentralEditorOutline implementation.public static IMockCentralEditorOutline getOutline()
IMockCentralEditorOutline implementation.
IMockCentralEditorOutline implementation.public static void setDialogFactory(IMockCentralDialogFactory dialogFactory)
IMockCentralDialogFactory implementation.
dialogFactory - the IMockCentralDialogFactory
implementation.public static IMockCentralDialogFactory getDialogFactory()
IMockCentralDialogFactory implementation.
IMockCentralDialogFactory implementation.public static void setLogger(IMockCentralLogger logger)
IMockCentralLogger used to log info and error-level
information.
logger - the IMockCentralLogger to set.public static IMockCentralLogger getLogger()
IMockCentralLogger used to log info and
error-level information.
IMockCentralLogger used to log info and
error-level information.public static void nodeProblemsChanged()
NodeProblem list has changed. Forwards the
notification to the outline view and editor.
public static java.lang.Class<?> loadClass(java.lang.String className)
throws java.lang.ClassNotFoundException
Class specified by the supplied name.
className - the class name.
Class specified by the supplied name.
java.lang.ClassNotFoundException - if the class could not be loaded.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||