Revision 41976
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.selectiontools.app/org.gvsig.selectiontools.app.mainplugin/src/main/java/org/gvsig/selectiontools/app/extension/tools/behavior/CircleSelectionBehavior.java | ||
---|---|---|
121 | 121 |
* .event.MouseEvent) |
122 | 122 |
*/ |
123 | 123 |
public void mousePressed(MouseEvent e) { |
124 |
|
|
124 |
if( !this.isMyButton(e) ) { |
|
125 |
return; |
|
126 |
} |
|
125 | 127 |
Point pScreen = e.getPoint(); |
126 | 128 |
m_PointAnt = pScreen; |
127 | 129 |
|
... | ... | |
146 | 148 |
* .event.MouseEvent) |
147 | 149 |
*/ |
148 | 150 |
public void mouseReleased(MouseEvent e) throws BehaviorException { |
151 |
if( !this.isMyButton(e) ) { |
|
152 |
return; |
|
153 |
} |
|
149 | 154 |
if ((m_FirstPoint == null) || (m_LastPoint == null)) |
150 | 155 |
return; |
151 | 156 |
|
Also available in: Unified diff