示例#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);
 }
示例#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);
 }
示例#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);
 }