Package editor.util
Class Experiment
java.lang.Object
editor.util.Experiment
- All Implemented Interfaces:
IProject
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Pathprivate GosuPanelprivate IRunConfigprivate ISettingsprivate Stringprivate List<IRunConfig> -
Constructor Summary
ConstructorsConstructorDescriptionExperiment(String name, Path dir, GosuPanel gosuPanel) Experiment(Path dir, GosuPanel gosuPanel) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRunConfig(IRunConfig runConfig) private voidfindRunConfig(Predicate<IRunConfig> matcher) findSettings(Predicate<ISettings> matcher) private PathgetName()getOrCreateRunConfig(IType type) static Stringbooleanbooleanbooleanprivate voidload()private ProgramRunConfigParametersmakeProgramParams(String name, String fqn) booleanremoveRunConfig(IRunConfig runConfig) voidsave()voidsetBackingSourcePath(List<String> backingSource) voidsetExperimentDir(Path experimentDir) voidsetMruRunConfig(IRunConfig runConfig) voidsetMruSettings(ISettings settings) voidvoidsetSourcePath(List<String> classpath)
-
Field Details
-
_name
-
_sourcePath
-
_backingSourcePath
-
_experimentDir
-
_openFiles
-
_activeFile
-
_mruRunConfig
-
_runConfigs
-
_mruSettings
-
_settings
-
_gosuPanel
-
-
Constructor Details
-
Experiment
-
Experiment
-
-
Method Details
-
getName
-
getNativeProject
- Specified by:
getNativeProjectin interfaceIProject
-
isDisposed
public boolean isDisposed()- Specified by:
isDisposedin interfaceIProject
-
isHeadless
public boolean isHeadless()- Specified by:
isHeadlessin interfaceIProject
-
isShadowMode
public boolean isShadowMode()- Specified by:
isShadowModein interfaceIProject
-
setName
-
getSourcePath
-
setSourcePath
-
getBackingSourcePath
-
setBackingSourcePath
-
getExperimentDir
-
setExperimentDir
-
getOpenFiles
-
getActiveFile
-
getGosuPanel
-
getExperimentFile
-
getOrMakeExperimentFile
-
save
public void save() -
makeExperimentRelativePath
-
makeExperimentRelativePathWithSlashes
-
load
private void load() -
addSettingsListeners
private void addSettingsListeners() -
getRelativeGosuSourcePath
-
getOrCreateRunConfig
-
makeProgramParams
-
findRunConfig
-
getMruRunConfig
-
setMruRunConfig
-
getRunConfigs
-
addRunConfig
-
removeRunConfig
-
getSettings
-
getMruSettings
-
setMruSettings
-
findSettings
-