|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.tools.edit.behaviour.DifferenceFeatureAcceptor
public class DifferenceFeatureAcceptor
Requirements:
Action:
Constructor Summary | |
---|---|
DifferenceFeatureAcceptor()
|
Method Summary | |
---|---|
UndoableMapCommand |
getCommand(EditToolHandler handler)
The action to be performed by this Behaviour. |
void |
handleError(EditToolHandler handler,
java.lang.Throwable error,
UndoableMapCommand command)
This method is called if an exception occurs during the execution of the run method. |
boolean |
isValid(EditToolHandler handler)
Called to determine whether this Behaviour is applicable and should be run. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DifferenceFeatureAcceptor()
Method Detail |
---|
public boolean isValid(EditToolHandler handler)
Behaviour
isValid
in interface Behaviour
handler
- handler that calls this Behaviour
public UndoableMapCommand getCommand(EditToolHandler handler)
Behaviour
getCommand
in interface Behaviour
handler
- handler that calls this Behaviour
public void handleError(EditToolHandler handler, java.lang.Throwable error, UndoableMapCommand command)
Behaviour
This method should:
handleError
in interface Behaviour
error
- Error that occurredcommand
- Command retrieved from getCommandMethod. May be null if exception occurred while
executing getCommand();
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |