|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ApplicationTasks
Interface for MasterFrame that allows it to be passed around as a utility class
| Method Summary | |
|---|---|
void |
addTaskDefinition()
Adds a task definition to the Task Extension Model |
void |
copy()
Tells the application to perform a copy |
void |
createNewProject()
Creates a new project in the application |
void |
cut()
Tells the application to perform a cut |
void |
displayDoc(String taskName)
Displays Ant documentation in the information panel |
void |
displayHTML(URL url)
Displays a web page in an external window |
AntInfo |
getAntInfo()
Gets the Ant information object being used |
Component |
getLastFocused()
Gets the last component to have the focus before the menu bars |
Component |
getMainComponent()
Gets a component reference |
AntProject |
getProject()
Gets the project being currently worked on |
AntsNestProperties |
getProperties()
Gets the user's properties |
String |
getSingleLineString(String title)
Gets a single line string from a specialist input window |
String |
getString(String title,
String text)
Gets a string from a specialist input window |
void |
loadBuildFile()
Loads a build file into the application |
void |
needsToBeSaved()
Notifies the application that the build file has been edited |
void |
paste()
Tells the application to perform a paste |
void |
projectChanged(AntProject newProject)
Informs the application that the project has changed |
void |
quickSave()
Saves a build file using the current filename |
void |
redo()
Tells the application to perform a redo |
void |
saveBuildFile()
Saves a build file letting the user select a filename |
void |
shutdown()
Responsible for a safe shutdown of the application |
void |
undo()
Tells the application to perform an undo |
void |
useBean()
Uses an Ant Bean |
| Method Detail |
|---|
void shutdown()
void createNewProject()
void needsToBeSaved()
void loadBuildFile()
void saveBuildFile()
void quickSave()
AntProject getProject()
AntInfo getAntInfo()
AntsNestProperties getProperties()
String getString(String title,
String text)
title - the title of the specialist windowtext - the text to display to start with
String getSingleLineString(String title)
title - the title of the specialist window
void displayDoc(String taskName)
taskName - the name of the task to documentvoid projectChanged(AntProject newProject)
newProject - the changed projectvoid undo()
void redo()
void cut()
void copy()
void paste()
Component getLastFocused()
void displayHTML(URL url)
url - the URL of the web pagevoid addTaskDefinition()
Component getMainComponent()
void useBean()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||