|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A IdeProject is a top-level container for DesignContexts at design-time. The IdeProject represents the project in the Creator IDE. Not much can be done with Projects in the Creator Design-Time API, except for accessing other DesignContexts, listening to project-level events, and storing project-level data.
IMPLEMENTED BY CREATOR - This interface is implemented by Creator for use by the component (bean) author.
DesignContext.getProject()| Method Summary | |
void |
addIdeProjectListener(IdeProjectListener listener)
Adds a listener to this IdeProject |
DesignContext[] |
getDesignContexts()
Returns all the DesignContexts in this project. |
Ide |
getIde()
Returns the Ide (Creator) that is hosting this IdeProject. |
IdeProjectListener[] |
getIdeProjectListeners()
Returns the array of current listeners to this IdeProject |
java.lang.String |
getProjectData(java.lang.String key)
Retrieves the value for a name-value pair of data on this IdeProject. |
void |
removeIdeProjectListener(IdeProjectListener listener)
Removes a listener from this IdeProject |
void |
setProjectData(java.lang.String key,
java.lang.String data)
Sets a name-value pair of data on this IdeProject. |
| Methods inherited from interface com.sun.rave.designtime.DisplayItem |
getDescription, getDisplayName, getHelpKey, getLargeIcon, getSmallIcon |
| Method Detail |
public void addIdeProjectListener(IdeProjectListener listener)
listener - The desired listener to addpublic DesignContext[] getDesignContexts()
public Ide getIde()
public IdeProjectListener[] getIdeProjectListeners()
public java.lang.String getProjectData(java.lang.String key)
Retrieves the value for a name-value pair of data on this IdeProject. This name-value pair is stored in the project file, so this data is retrievable in any IDE session once it has been set.
key - The desired String key to retrieve the data for
setProjectData(String, String)public void removeIdeProjectListener(IdeProjectListener listener)
listener - The desired listener to remove
public void setProjectData(java.lang.String key,
java.lang.String data)
Sets a name-value pair of data on this IdeProject. This name-value pair will be stored in the associated project file, so this data is retrievable in a future IDE session.
key - The String key to store the data underdata - The String data to storegetProjectData(String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||