@Override void applyValue(final boolean enabled, final NodeModel node, final PropertyChangeEvent evt) { final MEdgeController styleController = (MEdgeController) Controller.getCurrentModeController().getExtension(EdgeController.class); styleController.setStyle(node, enabled ? EdgeStyle.getStyle(mEdgeStyle.getValue()) : null); }
@Override void applyValue(final boolean enabled, final NodeModel node, final PropertyChangeEvent evt) { final MEdgeController styleController = (MEdgeController) Controller.getCurrentModeController().getExtension(EdgeController.class); styleController.setWidth( node, enabled ? Integer.parseInt(mEdgeWidth.getValue()) : EdgeModel.DEFAULT_WIDTH); }
@Override void applyValue(final boolean enabled, final NodeModel node, final PropertyChangeEvent evt) { final MEdgeController edgeController = (MEdgeController) MEdgeController.getController(); edgeController.setColor(node, enabled ? mEdgeColor.getColorValue() : null); }