|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcontrol.OperationConfig
public class OperationConfig
Class used to configurate the possible operations to be used in the application. New operations added should be referenced and added to the list in this class.
Constructor Summary | |
---|---|
OperationConfig()
Constructor creating a list of possible operations. |
Method Summary | |
---|---|
void |
addOperation(control.OperationConfig.Item operation)
Method to be used for adding operation to the list. |
java.lang.Class |
getOperation(java.lang.String description)
Method used by the application to retrieve the class which implements the operation. |
java.lang.String |
getOperationDescription(java.lang.Class c)
Method used by the application to retrieve the description of a operation given by its implementation class. |
java.util.ArrayList |
getOperationDescriptions()
Method used by the application to get a list of the operations available. |
boolean |
isEqual(Operation op1,
Operation op2)
Method for testing if two operations are equal (of the same type). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OperationConfig()
Method Detail |
---|
public void addOperation(control.OperationConfig.Item operation)
operation
- The operationpublic java.util.ArrayList getOperationDescriptions()
public java.lang.Class getOperation(java.lang.String description)
description
- The operation description
public java.lang.String getOperationDescription(java.lang.Class c)
c
- The class
public boolean isEqual(Operation op1, Operation op2)
op1
- Operation 1op2
- Operation 2
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |