|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWorkspaceContext
Interface for an implementation that allows manipulation of the properties that make up a workspace context
Method Summary | |
---|---|
String |
getAsString()
Gets a string representation of the map of workspace context properties. |
Map |
getProperties()
Gets all the properties of the workspace context as a map of String/Object pairs. |
Object |
getProperty(String name)
Gets a property by name from the workspace context. |
List |
getPropertyNames()
Gets a list of property names from the workspace context. |
boolean |
isDirty()
Determines if the workspace context has unsaved changes. |
void |
setDirty(boolean val)
Marks the workspace context state as dirty or clean. |
void |
setProperty(String name,
Object val)
Sets a property by name in the workspace context. |
Method Detail |
---|
Object getProperty(String name) throws Exception
name
- The name of the property to retrieve.
Exception
void setProperty(String name, Object val) throws Exception
name
- The name of property to set.val
- The value of the property.
Exception
Map getProperties() throws Exception
Exception
List getPropertyNames() throws Exception
Exception
String getAsString() throws Exception
Exception
void setDirty(boolean val)
val
- Specifies the context state; true indicates the context is dirty and needs to be saved and false indicates that it no longer contains unsaved changes.boolean isDirty()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |