|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Level
Defines operations a level must implement to be plugged into Ant's Nest
| Method Summary | |
|---|---|
void |
antInfoChanged(AntInfo newInfo)
Notifies the level the Ant information object has changed |
String |
getClassname()
Gets the name of the class behind this level |
String |
getDescription()
Gets a description of this level |
long |
getID()
Gets the ID of the level |
boolean |
isUtility()
Gets whether this level is a utility rather than an editor |
String |
performCopy()
Notifies the level a copy operation has been performed |
String |
performCut()
Notifies the level a cut operation has been performed |
void |
performPaste(String data)
Notifies the level a paste operation has been performed |
void |
prepareForDisplay()
Notifies the level that it's about to be displayed |
void |
prepareToBeHidden()
Notifies the level that it's about to be hidden |
void |
projectChanged(AntProject newProject)
Notifies the level the Ant project has changed |
void |
setAppTasks(ApplicationTasks appTasks)
Sets the object that can perform application tasks |
void |
setID(long id)
Sets the ID of the level |
| Method Detail |
|---|
long getID()
void setID(long id)
id - the level's IDString getClassname()
void setAppTasks(ApplicationTasks appTasks)
appTasks - the object that can perform application tasksString getDescription()
void performPaste(String data)
data - the data that was stored in the clipboardString performCopy()
String performCut()
void projectChanged(AntProject newProject)
newProject - the newly changed projectvoid antInfoChanged(AntInfo newInfo)
newInfo - the newly changed information objectvoid prepareForDisplay()
void prepareToBeHidden()
boolean isUtility()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||