|
RSE Release 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.rse.core.model.RSEPersistableObject
org.eclipse.rse.core.model.PropertySetContainer
public abstract class PropertySetContainer
A PropertySetContainer is capable of holding multiple named property sets.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.rse.core.model.IRSEPersistableContainer |
|---|
NO_CHILDREN |
| Constructor Summary | |
|---|---|
PropertySetContainer()
|
|
| Method Summary | |
|---|---|
boolean |
addPropertySet(IPropertySet set)
Adds an existing property set to this container. |
boolean |
addPropertySets(IPropertySet[] sets)
Adds a number of existing property sets to this container. |
void |
clonePropertySets(IPropertySetContainer container)
Make copies of a list of property sets and add them to the specified container. |
IPropertySet |
createPropertySet(String name)
Creates a new property set of a particular name in this container. |
IPropertySet |
createPropertySet(String name,
String description)
Creates a new property set of a particular name and description in this container. |
IPropertySet |
getPropertySet(String name)
Retrieves a particular property set by its name. |
IPropertySet[] |
getPropertySets()
Retrieves an array all property sets known to this container. |
boolean |
removePropertySet(String name)
Removes a particular property set from this container. |
| Methods inherited from class org.eclipse.rse.core.model.RSEPersistableObject |
|---|
compareStrings, isDirty, isTainted, setDirty, setTainted, setWasRestored, wasRestored |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.rse.core.model.IRSEPersistableContainer |
|---|
commit, getPersistableChildren, getPersistableParent |
| Constructor Detail |
|---|
public PropertySetContainer()
| Method Detail |
|---|
public IPropertySet[] getPropertySets()
IPropertySetContainer
getPropertySets in interface IPropertySetContainerpublic IPropertySet getPropertySet(String name)
IPropertySetContainer
getPropertySet in interface IPropertySetContainername - the name of the property set.
public IPropertySet createPropertySet(String name,
String description)
IPropertySetContainerIRSEPersistableContainer. The
IRSEPersistableContainer.commit() method must then be used to
commit any changes into persistent storage.
createPropertySet in interface IPropertySetContainername - the name of the property set.description - the description (usually already localized) for this
property set.
public IPropertySet createPropertySet(String name)
IPropertySetContainerIRSEPersistableContainer. The
IRSEPersistableContainer.commit() method must then be used to
commit any changes into persistent storage.
createPropertySet in interface IPropertySetContainername - the name of the property set.
public boolean addPropertySet(IPropertySet set)
IPropertySetContainer
addPropertySet in interface IPropertySetContainerset - the property set to be added.
public boolean addPropertySets(IPropertySet[] sets)
IPropertySetContainer
addPropertySets in interface IPropertySetContainersets - the sets to be added
IPropertySetContainer.addPropertySet(IPropertySet)public boolean removePropertySet(String name)
IPropertySetContainer
removePropertySet in interface IPropertySetContainername - the name of the property set to be removed
public void clonePropertySets(IPropertySetContainer container)
IPropertySetContainer
clonePropertySets in interface IPropertySetContainercontainer - new container to copy property sets into
|
RSE Release 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||