public class ExecutionEnvironment extends Object implements IExecutionEnvironment
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASS_REDEFINER_THREAD |
DEFAULT_SINGLE_MODULE_NAME, GLOBAL_MODULE_NAMEpublic static final String CLASS_REDEFINER_THREAD
public static ExecutionEnvironment instance()
public static ExecutionEnvironment instance(IProject project)
public static Collection<? extends IExecutionEnvironment> getAll()
public IProject getProject()
getProject in interface IExecutionEnvironmentpublic List<? extends IModule> getModules()
getModules in interface IExecutionEnvironmentpublic void initializeDefaultSingleModule(List<? extends GosuPathEntry> pathEntries, String... discretePackages)
public void uninitializeDefaultSingleModule()
public void uninitializeMultipleModules()
public void addModule(IModule module)
addModule in interface IExecutionEnvironmentpublic void initializeCompiler(GosucModule gosucModule)
public void uninitializeCompiler()
public void initializeSimpleIde(GosucModule gosucModule)
public void uninitializeSimpleIde()
public String[] getDiscretePackages()
public void setDiscretePackages(String[] discretePackages)
public void removeModule(IModule module)
removeModule in interface IExecutionEnvironmentpublic IModule getModule(String strModuleName)
getModule in interface IExecutionEnvironmentpublic IModule getModule(IResource file)
getModule in interface IExecutionEnvironmentpublic IModule getModule(URL url)
getModule in interface IExecutionEnvironmentpublic IModule createJreModule()
createJreModule in interface IExecutionEnvironmentpublic IModule getJreModule()
getJreModule in interface IExecutionEnvironmentpublic IModule getGlobalModule()
getGlobalModule in interface IExecutionEnvironmentpublic IModule findRootModule()
public TypeSystemState getState()
getState in interface IExecutionEnvironmentpublic void renameModule(IModule module, String newName)
renameModule in interface IExecutionEnvironmentpublic String makeGosucProjectFile(String projectClassName)
makeGosucProjectFile in interface IExecutionEnvironmentpublic void shutdown()
public static List<IDirectory> createDefaultClassPath()
public boolean isShadowingMode()
isShadowingMode in interface IExecutionEnvironmentCopyright © 2022. All rights reserved.