|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.tools.edit.enablement.WithinLegalLayerBoundsBehaviour
public class WithinLegalLayerBoundsBehaviour
Sets the EditState to illegal if the Mouse moves into an area of the map where the layer is no longer valid as according to its CRS. In addition puts a warning on the StatusLine.
Constructor Summary | |
---|---|
WithinLegalLayerBoundsBehaviour()
|
Method Summary | |
---|---|
java.lang.String |
isEnabled(EditToolHandler handler,
MapMouseEvent e,
EventType eventType)
If method returns a String then no other behaviours will be executed and the string will be used as the status bar's Error message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WithinLegalLayerBoundsBehaviour()
Method Detail |
---|
public java.lang.String isEnabled(EditToolHandler handler, MapMouseEvent e, EventType eventType)
EnablementBehaviour
isEnabled
in interface EnablementBehaviour
handler
- EditToolHandler
for the current toole
- the event that just occurredeventType
- the type of event
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |