/** @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) */
 public void actionPerformed(ActionEvent e) {
   super.actionPerformed(e);
   if (e.getSource() instanceof UMLCheckBox2) {
     UMLCheckBox2 source = (UMLCheckBox2) e.getSource();
     Object target = source.getTarget();
     if (Model.getFacade().isAAssociationEnd(target)) {
       Object m = /*(MAssociationEnd)*/ target;
       Model.getCoreHelper().setNavigable(m, source.isSelected());
     }
   }
 }
 /** @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) */
 public void actionPerformed(ActionEvent e) {
   super.actionPerformed(e);
   if (e.getSource() instanceof UMLCheckBox2) {
     UMLCheckBox2 source = (UMLCheckBox2) e.getSource();
     Object target = source.getTarget();
     if (Model.getFacade().isAGeneralizableElement(target)
         || Model.getFacade().isAOperation(target)) {
       Model.getCoreHelper().setLeaf(target, source.isSelected());
     }
   }
 }
 /*
  * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
  */
 public void actionPerformed(ActionEvent e) {
   super.actionPerformed(e);
   if (e.getSource() instanceof UMLCheckBox2) {
     UMLCheckBox2 source = (UMLCheckBox2) e.getSource();
     Object target = source.getTarget();
     if (Model.getFacade().isACompositeState(target)) {
       Object compositeState = target;
       Model.getStateMachinesHelper()
           .setConcurrent(compositeState, !Model.getFacade().isConcurrent(compositeState));
     }
   }
 }
 /** @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) */
 public void actionPerformed(ActionEvent e) {
   super.actionPerformed(e);
   if (e.getSource() instanceof UMLCheckBox2) {
     UMLCheckBox2 source = (UMLCheckBox2) e.getSource();
     Object target = source.getTarget();
     if (Model.getFacade().isAAssociationEnd(target)) {
       Object m = /*(MAssociationEnd)*/ target;
       if (source.isSelected()) {
         Model.getCoreHelper().setOrdering(m, Model.getOrderingKind().getOrdered());
       } else {
         Model.getCoreHelper().setOrdering(m, Model.getOrderingKind().getUnordered());
       }
     }
   }
 }
 /*
  * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
  */
 @Override
 public void actionPerformed(ActionEvent e) {
   super.actionPerformed(e);
   if (e.getSource() instanceof UMLCheckBox2) {
     UMLCheckBox2 source = (UMLCheckBox2) e.getSource();
     Object target = source.getTarget();
     if (Model.getFacade().isAStructuralFeature(target)) {
       Object m = target;
       Model.getCoreHelper()
           .setTargetScope(
               m,
               source.isSelected()
                   ? Model.getScopeKind().getClassifier()
                   : Model.getScopeKind().getInstance());
     }
   }
 }