Package editor.util
Class Experiment
java.lang.Object
editor.util.Experiment
- All Implemented Interfaces:
IProject
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private Path
private GosuPanel
private IRunConfig
private ISettings
private String
private List<IRunConfig>
-
Constructor Summary
ConstructorsConstructorDescriptionExperiment
(String name, Path dir, GosuPanel gosuPanel) Experiment
(Path dir, GosuPanel gosuPanel) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addRunConfig
(IRunConfig runConfig) private void
findRunConfig
(Predicate<IRunConfig> matcher) findSettings
(Predicate<ISettings> matcher) private Path
getName()
getOrCreateRunConfig
(IType type) static String
boolean
boolean
boolean
private void
load()
private ProgramRunConfigParameters
makeProgramParams
(String name, String fqn) boolean
removeRunConfig
(IRunConfig runConfig) void
save()
void
setBackingSourcePath
(List<String> backingSource) void
setExperimentDir
(Path experimentDir) void
setMruRunConfig
(IRunConfig runConfig) void
setMruSettings
(ISettings settings) void
void
setSourcePath
(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:
getNativeProject
in interfaceIProject
-
isDisposed
public boolean isDisposed()- Specified by:
isDisposed
in interfaceIProject
-
isHeadless
public boolean isHeadless()- Specified by:
isHeadless
in interfaceIProject
-
isShadowMode
public boolean isShadowMode()- Specified by:
isShadowMode
in 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
-