Skip to content
Snippets Groups Projects
Commit 72c855b5 authored by Simon Barner's avatar Simon Barner
Browse files

- Eliminate superfluous override of performRequest() because of the...

- Eliminate superfluous override of performRequest() because of the inheritance relation: ConnectorEditPartBase -> PositionedEditPartBase -> GraphicalEditPartBase
- GraphicalEditPartBase provides the desired functionality to raise the properties view, and PositionedEditPartBase does not override this behavior
refs 2133
parent 4a4172c2
Branches
Tags
No related merge requests found
......@@ -26,7 +26,6 @@ import static org.eclipse.gef.EditPolicy.COMPONENT_ROLE;
import static org.eclipse.gef.EditPolicy.GRAPHICAL_NODE_ROLE;
import static org.fortiss.tooling.base.layout.DefaultLayoutConstants.DEFAULT_CONNECTOR_SIZE;
import static org.fortiss.tooling.base.ui.utils.LayoutDataUtils.getNodePosition;
import static org.fortiss.tooling.base.ui.utils.PropertiesViewUtils.raisePropertiesView;
import java.util.ArrayList;
import java.util.List;
......@@ -41,7 +40,6 @@ import org.eclipse.draw2d.Label;
import org.eclipse.draw2d.XYLayout;
import org.eclipse.draw2d.geometry.Rectangle;
import org.eclipse.gef.ConnectionEditPart;
import org.eclipse.gef.Request;
import org.eclipse.swt.graphics.Color;
import org.fortiss.tooling.base.model.element.IConnection;
import org.fortiss.tooling.base.model.element.IConnector;
......@@ -248,10 +246,4 @@ public abstract class ConnectorEditPartBase<T extends ILayoutedModelElement & IC
* connector in the current view (i.e. edit part).
*/
protected abstract boolean isTarget();
/** {@inheritDoc} */
@Override
public void performRequest(Request req) {
raisePropertiesView();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment