RunSvc.I Interface
- public static interface RunSvc.I
-
Enclosing class
-
RunSvc
disableAll() Method
public void disableAll()
disables all the buttons (Run, RunWithDebugging, Stop)
getCurrentProject() Method
public IProject
getCurrentProject()
get the current project.
Returns
- the current project
getRunningProject() Method
public IProject
getRunningProject()
returns the currently running project.
Returns
- the currently running project, or null if there is no running project.
onPreferencesSet(IProject) Method
public void onPreferencesSet(IProject
proj)
called when the run preference panel is saved.
Parameters
-
proj
- project who's preferences have chagned
setCurrentProject(IProject) Method
public IProject
setCurrentProject(IProject
rd)
sets the current project.
Parameters
-
rd
- new current project
Returns
- the old current project
setRunDebugEnabled(Boolean) Method
public void setRunDebugEnabled(Boolean
fEnable)
sets the enabled state of the RunWithDebugging button.
Parameters
-
fEnable
- new state for the RunWithDebugging button.
setRunEnabled(Boolean) Method
public void setRunEnabled(Boolean
fEnable)
sets the enabled state of the Run button.
Parameters
-
fEnable
- new state for the run button.
setRunningProject(IProject) Method
public IProject
setRunningProject(IProject
rd)
sets the currently running project.
Parameters
-
rd
- newly running project
Returns
- the previously running project, or null if there is no previously running project.
setStopEnabled(Boolean) Method
public void setStopEnabled(Boolean
fEnable)
sets the enabled state of the Stop button.
Parameters
-
fEnable
- new state for the Stop button.
updateEnabledState() Method
public void updateEnabledState()
updates the enabled state for the application. This methods will
go to the running project if there is one, or the current project if there is
not one and have it reset teh enable/disable state of the App.