public void resizeAtControlPoint( WorldWindow wwd, AirspaceControlPoint controlPoint, Point mousePoint, Point previousMousePoint) { // Include this test to ensure any derived implementation performs it. if (this.getAirspace() == null) { return; } if (this != controlPoint.getEditor() || this.getAirspace() != controlPoint.getAirspace()) { return; } this.doResizeAtControlPoint(wwd, controlPoint, mousePoint, previousMousePoint); }
public void removeControlPoint(WorldWindow wwd, AirspaceControlPoint controlPoint) { // Include this test to ensure any derived implementation performs it. if (this.getAirspace() == null) { return; } if (wwd == null || controlPoint == null) { return; } if (this != controlPoint.getEditor() || this.getAirspace() != controlPoint.getAirspace()) { return; } this.doRemoveControlPoint(wwd, controlPoint); }