|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.ajde.Ajde
public class Ajde
Singleton class used to initialize the Ajde ui as well as the properties required to run the compiler. Users must call "Ajde.init(...)" before doing anything else. There are getter methods for the various properties that are set in the initialization. This also defines the factory for getting new AjCompiler instances.
| Field Summary | |
|---|---|
protected static Ajde |
INSTANCE
|
| Constructor Summary | |
|---|---|
protected |
Ajde()
This class can only be constructured by itself (as a singleton) or by sub-classes. |
| Method Summary | |
|---|---|
TreeViewBuildConfigEditor |
getBuildConfigEditor()
|
BuildConfigManager |
getBuildConfigManager()
|
IBuildProgressMonitor |
getBuildProgressMonitor()
|
ICompilerConfiguration |
getCompilerConfig()
|
AjCompiler |
getCompilerForConfigFile(java.lang.String configFile)
If the provided configFile is the same as the id for the last compiler then returns that, otherwise clears the state for the saved compiler and creates a new one for the provided configFile |
static Ajde |
getDefault()
|
EditorAdapter |
getEditorAdapter()
|
StructureViewPanel |
getFileStructurePanel()
|
IconRegistry |
getIconRegistry()
|
IdeUIAdapter |
getIdeUIAdapter()
|
IUIBuildMessageHandler |
getMessageHandler()
|
AsmManager |
getModel()
|
AsmManager |
getModelForConfigFile(java.lang.String configFile)
|
OptionsFrame |
getOptionsFrame()
|
java.awt.Frame |
getRootFrame()
|
StructureSearchManager |
getStructureSearchManager()
|
StructureViewManager |
getStructureViewManager()
|
BrowserViewManager |
getViewManager()
|
void |
init(ICompilerConfiguration compilerConfig,
IUIBuildMessageHandler uiBuildMessageHandler,
IBuildProgressMonitor monitor,
EditorAdapter editorAdapter,
IdeUIAdapter ideUIAdapter,
IconRegistry iconRegistry,
java.awt.Frame rootFrame,
IRuntimeProperties runtimeProperties,
boolean useFileView)
Initializes the ajde ui and sets up the compiler |
boolean |
isInitialized()
|
void |
runBuildInDifferentThread(java.lang.String configFile,
boolean buildFresh)
Set the build off in a different thread. |
void |
runBuildInSameThread(java.lang.String configFile,
boolean buildFresh)
Set the build off in the same thread |
LangUtil.ProcessController |
runInNewVM()
Utility to run the project main class from the project properties in a new VM. |
java.lang.Thread |
runInSameVM()
Utility to run the project main class from the project properties in the same VM using a class loader populated with the classpath and output path or jar. |
void |
showOptionsFrame()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Ajde INSTANCE
| Constructor Detail |
|---|
protected Ajde()
| Method Detail |
|---|
public AsmManager getModel()
public void init(ICompilerConfiguration compilerConfig,
IUIBuildMessageHandler uiBuildMessageHandler,
IBuildProgressMonitor monitor,
EditorAdapter editorAdapter,
IdeUIAdapter ideUIAdapter,
IconRegistry iconRegistry,
java.awt.Frame rootFrame,
IRuntimeProperties runtimeProperties,
boolean useFileView)
public void showOptionsFrame()
public boolean isInitialized()
public java.lang.Thread runInSameVM()
project - the ProjectPropertiesAdapter specifying the main class, classpath, and executable arguments.
public LangUtil.ProcessController runInNewVM()
public void runBuildInSameThread(java.lang.String configFile,
boolean buildFresh)
configFile - buildFresh - - true if want to do a full build, false otherwise
public void runBuildInDifferentThread(java.lang.String configFile,
boolean buildFresh)
configFile - buildFresh - - true if want to do a full build, false otherwisepublic static Ajde getDefault()
public BrowserViewManager getViewManager()
public java.awt.Frame getRootFrame()
public OptionsFrame getOptionsFrame()
public IdeUIAdapter getIdeUIAdapter()
public EditorAdapter getEditorAdapter()
public TreeViewBuildConfigEditor getBuildConfigEditor()
public StructureViewPanel getFileStructurePanel()
public IconRegistry getIconRegistry()
public StructureViewManager getStructureViewManager()
public StructureSearchManager getStructureSearchManager()
public BuildConfigManager getBuildConfigManager()
public ICompilerConfiguration getCompilerConfig()
public IUIBuildMessageHandler getMessageHandler()
public IBuildProgressMonitor getBuildProgressMonitor()
public AjCompiler getCompilerForConfigFile(java.lang.String configFile)
configFile -
public AsmManager getModelForConfigFile(java.lang.String configFile)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||