|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.tools.edit.activator.DrawGeomsActivator
public class DrawGeomsActivator
Adds a DrawGeomsCommand to the draw commands and invalidates it at the end.
Nested Class Summary | |
---|---|
static class |
DrawGeomsActivator.DrawType
|
Constructor Summary | |
---|---|
DrawGeomsActivator(DrawGeomsActivator.DrawType type)
|
Method Summary | |
---|---|
void |
activate(EditToolHandler handler)
The action to be performed by this activator when activating. |
void |
deactivate(EditToolHandler handler)
The action to be performed by this activator when deactivating. |
void |
handleActivateError(EditToolHandler handler,
java.lang.Throwable error)
This method is called if an exception occurs during the execution of the activate method. |
void |
handleDeactivateError(EditToolHandler handler,
java.lang.Throwable error)
This method is called if an exception occurs during the execution of the deactivate method. |
boolean |
isShowMouseLocation()
Returns true if the mouse position will be shown. |
void |
setShowMouseLocation(boolean showMouseLocation)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DrawGeomsActivator(DrawGeomsActivator.DrawType type)
Method Detail |
---|
public boolean isShowMouseLocation()
public void setShowMouseLocation(boolean showMouseLocation)
showMouseLocation
- The showMouseLocation to set.public void activate(EditToolHandler handler)
Activator
activate
in interface Activator
public void deactivate(EditToolHandler handler)
Activator
deactivate
in interface Activator
public void handleActivateError(EditToolHandler handler, java.lang.Throwable error)
Activator
This method should
handleActivateError
in interface Activator
error
- Error that occurredpublic void handleDeactivateError(EditToolHandler handler, java.lang.Throwable error)
Activator
This method should
handleDeactivateError
in interface Activator
error
- Error that occurred
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |