| |
|
| java.lang.Object abbot.editor.EditorContext
EditorContext | public class EditorContext (Code) | | Provide a transport for the editor context. This is usefull in cases where
the costello editor is invoked inside of another application. It can also
be used to provide further editor customization, for example a new file
template, depending on the context.
|
EditorContext | public EditorContext()(Code) | | |
getNewFileTemplate | public File getNewFileTemplate()(Code) | | The file to be used |
getTestHierarchy | public TestHierarchy getTestHierarchy()(Code) | | A hierarchy that can preconfigured to filter certain componentsignoreExisting call. This is usefull in the embedded case. |
isEmbedded | public boolean isEmbedded()(Code) | | Whether the costello editor is being embdeed in another application |
setArguments | public void setArguments(String[] arguments)(Code) | | |
setEmbedded | public void setEmbedded(boolean embedded)(Code) | | Parameters: embedded - Whether costello is embedded in another application |
setFileSysteHelper | public void setFileSysteHelper(FileSystemHelper helper)(Code) | | Parameters: helper - A file system helper for this context, usefull for thecase where the costello editor is emdedded in an IDE |
setNewFileTemplate | public void setNewFileTemplate(File newFileTemplate)(Code) | | Parameters: newFileTemplate - The file to be used when creating newscripts. |
setSecurityManager | public void setSecurityManager(SecurityManager securityManager)(Code) | | Parameters: securityManager - The secutiry manager for this context |
setTestHierarchy | public void setTestHierarchy(TestHierarchy hierarchy)(Code) | | Parameters: hierarchy - A hierarchy that can preconfigured to filter certain components throws: IllegalStateException - if we are not in an embedded mode |
|
|
|