Beispiel #1
0
 @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);
 }
Beispiel #2
0
 @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);
 }
Beispiel #3
0
 @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);
 }