|
JDeveloper SCM API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ide.scm.SCMOperationSet
Class representing a client's operation set, and preserving a separation between operations of different category types. This is used in the framework by controls which may visibly divide the operations into their given categories, for example with menu separators.
Constructor Summary | |
SCMOperationSet()
Constructs an operation set with no initial categories. |
Method Summary | |
void |
addCategory(java.lang.Class[] operations)
Adds a category of operations, given by an array of Class
references, to this operation set. |
void |
addCategory(SCMOperation[] operations)
Adds a category of operations, given by an array of SCMOperation
instances, to this operation set. |
void |
addSubCategory(java.lang.String name,
char mnemonic,
java.lang.Class[] operations)
Adds a sub-category of operations, given by an array of Class
references, to this operation set. |
void |
addSubCategory(java.lang.String name,
char mnemonic,
SCMOperation[] operations)
Adds a sub-category of operations, given by an array of SCMOperation instances, to this operation set. |
SCMOperationSet |
derive(java.util.List required)
Derives a subset of held operations from the required list of members. |
java.util.Iterator |
flatten()
Gets a flat Iterator over all operations contained by the set,
disregarding category separation. |
java.util.Iterator |
iterator()
Framework-level method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SCMOperationSet()
Method Detail |
public void addCategory(SCMOperation[] operations)
SCMOperation
instances, to this operation set.operations
- the category of operation instances to add.public void addCategory(java.lang.Class[] operations) throws SCMException
Class
references, to this operation set.operations
- the category of operation classes to add.public void addSubCategory(java.lang.String name, char mnemonic, SCMOperation[] operations)
SCMOperation
instances, to this operation set.operations
- the category of operation instances to add.public void addSubCategory(java.lang.String name, char mnemonic, java.lang.Class[] operations) throws SCMException
Class
references, to this operation set.operations
- the category of operation classes to add.public final SCMOperationSet derive(java.util.List required)
required
- a list of member operations required in the derived set.public final java.util.Iterator iterator()
Iterator
over the set lists,
each representing a single operation category. Entries are of class
type OperationSetCategory
.public final java.util.Iterator flatten()
Iterator
over all operations contained by the set,
disregarding category separation.
|
Copyright © 2002 Oracle Corporation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |