Revision 24064 branches/v2_0_0_prep/libraries/libTools/src/org/gvsig/tools/operations/OperationManager.java
OperationManager.java | ||
---|---|---|
2 | 2 |
|
3 | 3 |
public interface OperationManager { |
4 | 4 |
|
5 |
public Operation get(Object obj, String opname); |
|
5 |
public int getOperationCode(Class aClass, String name) |
|
6 |
throws OperationNotSupportedException; |
|
6 | 7 |
|
7 |
public Operation get(Object obj, int opcode); |
|
8 |
public Operation getOperation(Object obj, String name) |
|
9 |
throws OperationNotSupportedException; |
|
8 | 10 |
|
9 |
public Object invoke(Object obj, String opname, OperationContext context); |
|
11 |
public Operation getOperation(Object obj, int code) |
|
12 |
throws OperationNotSupportedException; |
|
10 | 13 |
|
11 |
public Object invoke(Object obj, int opcode, OperationContext context); |
|
14 |
public Operation getOperation(Class aClass, String name) |
|
15 |
throws OperationNotSupportedException; |
|
12 | 16 |
|
13 |
public boolean has(Object obj, String opname); |
|
17 |
public Operation getOperation(Class aClass, int code) |
|
18 |
throws OperationNotSupportedException; |
|
14 | 19 |
|
15 |
public boolean has(Object obj, int opcode); |
|
20 |
public Object invokeOperation(Object obj, String name, |
|
21 |
OperationContext context) throws OperationException; |
|
16 | 22 |
|
17 |
public int register(Object obj, String opname); |
|
23 |
public Object invokeOperation(Object obj, int code, OperationContext context) |
|
24 |
throws OperationException; |
|
25 |
|
|
26 |
public boolean hasOperation(Object obj, String name); |
|
27 |
|
|
28 |
public boolean hasOperation(Object obj, int code); |
|
29 |
|
|
30 |
public boolean hasOperation(Class aClass, String name); |
|
31 |
|
|
32 |
public boolean hasOperation(Class aClass, int code); |
|
33 |
|
|
34 |
public int registerOperation(Operation operation, Object obj); |
|
35 |
|
|
36 |
public int registerOperation(Operation operation, Class aClass); |
|
18 | 37 |
} |
Also available in: Unified diff