public class Ajde
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
Ajde()
This class can only be constructured by itself (as a singleton) or by sub-classes.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
protected static final Ajde INSTANCE
protected Ajde()
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 otherwisepublic 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)