Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }