code: public boolean execute(Canvas target, Menu menu, MenuItem item) {
  		FeatureTransaction featureTransaction = mapWidget.getMapModel().getFeatureEditor().getFeatureTransaction();
  		if (featureTransaction != null) {
  			MenuContext graphics = mapWidget.getMenuContext();
  			coordinate = mapWidget.getMapModel().getMapView().getWorldViewTransformer().viewToWorld(
  					graphics.getRightButtonCoordinate());
  			String targetId = graphics.getRightButtonName();
  			if (targetId != null && TransactionGeomIndexUtil.isEdge(targetId)) {
  				index = TransactionGeomIndexUtil.getIndex(targetId);
  				return true;
  			}
  		}
  		return false;
  	}
docs: Implementation of the <code>MenuItemIfFunction</code> interface. This will determine if the menu action should be
  enabled or not. In essence, this action will be enabled when the context menu event occurred on an edge of the
  painted <code>FeatureTransaction</code>.