public void onPageEntry() {
    Ooaofooa modelRoot =
        Selection.getModelRoot(
            (StructuredSelection)
                ((CommunicationClassEventFormalizeOnMSG_AMWizard) getWizard()).getSelection());

    // cache for previous user selections
    StateMachineEvent_c v_Message =
        ((CommunicationClassEventFormalizeOnMSG_AMWizard) getWizard()).v_Message;

    // cache for context
    AsynchronousMessage_c v_asyncMessage =
        ((CommunicationClassEventFormalizeOnMSG_AMWizard) getWizard()).v_asyncMessage;
    ClassParticipant_c v_cp = ((CommunicationClassEventFormalizeOnMSG_AMWizard) getWizard()).v_cp;

    if (((v_asyncMessage != null))) {

      if (((v_cp != null))) {

        Message_c v_message = Message_c.getOneMSG_MOnR1018(v_asyncMessage);

        InteractionParticipant_c v_participant = InteractionParticipant_c.getOneSQ_POnR930(v_cp);

        ModelClass_c v_mclass = ModelClass_c.getOneO_OBJOnR939(v_cp);

        if (((v_mclass != null))) {

          StateMachine_c v_stateMachine =
              StateMachine_c.getOneSM_SMOnR517(ClassStateMachine_c.getOneSM_ASMOnR519(v_mclass));

          ClassStateMachine_c v_asm = ClassStateMachine_c.getOneSM_ASMOnR519(v_mclass);

          InstanceStateMachine_c v_ism = InstanceStateMachine_c.getOneSM_ISMOnR518(v_mclass);

          java.util.UUID v_asmId = Gd_c.Null_unique_id();

          java.util.UUID v_ismId = Gd_c.Null_unique_id();

          if (((v_asm != null))) {

            v_asmId = v_asm.getSm_id();
          }

          if (((v_ism != null))) {

            v_ismId = v_ism.getSm_id();
          }

          StateMachineEvent_c v_evt =
              StateMachineEvent_c.getOneSM_EVTOnR1009(
                  EventMessage_c.getOneMSG_EOnR1019(v_asyncMessage));

          java.util.UUID v_existingId = Gd_c.Null_unique_id();

          if (((v_evt != null))) {

            v_existingId = v_evt.getSmevt_id();
          }

          StateMachine_c v_machines1 =
              (StateMachine_c)
                  modelRoot.getInstanceList(StateMachine_c.class).getGlobal(null, v_asmId);
          List<StateMachine_c> v_machinesList = new ArrayList<StateMachine_c>();
          if (v_machines1 != null) {
            v_machinesList.add(v_machines1);
          }
          StateMachine_c[] v_machines =
              v_machinesList.toArray(new StateMachine_c[v_machinesList.size()]);
          StateMachine_c v_machines2 =
              (StateMachine_c)
                  modelRoot.getInstanceList(StateMachine_c.class).getGlobal(null, v_ismId);
          if (v_machines2 != null) {
            v_machinesList.add(v_machines2);
          }
          v_machines = v_machinesList.toArray(new StateMachine_c[v_machinesList.size()]);

          if (((v_Message != null))) {}
        }
      }
    }
  }
 /** @see IActionDelegate#run(IAction) */
 public void run(IAction action) {
   IStructuredSelection structuredSelection = Selection.getInstance().getStructuredSelection();
   COMM_COMM_NewClassParticipant(structuredSelection);
 }
 /** @see IActionDelegate#run(IAction) */
 public void run(IAction action) {
   IStructuredSelection structuredSelection = Selection.getInstance().getStructuredSelection();
   SQ_S_NewInstance(structuredSelection);
 }
  public void onPageEntry() {
    Ooaofooa modelRoot =
        Selection.getModelRoot(
            (StructuredSelection)
                ((CommunicationInstanceEventFormalizeOnMSG_AMWizard) getWizard()).getSelection());

    // cache for previous user selections
    StateMachineEvent_c v_Message =
        ((CommunicationInstanceEventFormalizeOnMSG_AMWizard) getWizard()).v_Message;

    // cache for context
    AsynchronousMessage_c v_asyncMessage =
        ((CommunicationInstanceEventFormalizeOnMSG_AMWizard) getWizard()).v_asyncMessage;
    ClassInstanceParticipant_c v_cip =
        ((CommunicationInstanceEventFormalizeOnMSG_AMWizard) getWizard()).v_cip;

    if (((v_asyncMessage != null))) {

      if (((v_cip != null))) {

        Message_c v_message = Message_c.getOneMSG_MOnR1018(v_asyncMessage);

        InteractionParticipant_c v_participant = InteractionParticipant_c.getOneSQ_POnR930(v_cip);

        ModelClass_c v_mclass = ModelClass_c.getOneO_OBJOnR934(v_cip);

        if (((v_mclass != null))) {

          StateMachineEvent_c v_evt =
              StateMachineEvent_c.getOneSM_EVTOnR1009(
                  EventMessage_c.getOneMSG_EOnR1019(v_asyncMessage));

          java.util.UUID v_existingId = Gd_c.Null_unique_id();

          if (((v_evt != null))) {

            v_existingId = v_evt.getSmevt_id();
          }

          StateMachine_c v_stateMachine =
              StateMachine_c.getOneSM_SMOnR517(InstanceStateMachine_c.getOneSM_ISMOnR518(v_mclass));

          StateMachine_c[] v_machines =
              StateMachine_c.getManySM_SMsOnR517(
                  InstanceStateMachine_c.getManySM_ISMsOnR518(
                      ModelClass_c.getManyO_OBJsOnR8001(
                          PackageableElement_c.getManyPE_PEsOnR8000(
                              Package_c.getManyEP_PKGsOnR1405(
                                  SystemModel_c.getManyS_SYSsOnR1405(
                                      Package_c.getManyEP_PKGsOnR8000(
                                          PackageableElement_c.getManyPE_PEsOnR8001(
                                              v_mclass))))))));

          if (((v_machines.length == 0))) {

            v_machines =
                StateMachine_c.getManySM_SMsOnR517(
                    InstanceStateMachine_c.getManySM_ISMsOnR518(
                        ModelClass_c.getManyO_OBJsOnR2(
                            Subsystem_c.getManyS_SSsOnR1(
                                Domain_c.getManyS_DOMsOnR1(
                                    Subsystem_c.getManyS_SSsOnR2(v_mclass))))));
          }

          if (((v_Message != null))) {}
        }
      }
    }
  }
 /** @see IActionDelegate#run(IAction) */
 public void run(IAction action) {
   IStructuredSelection structuredSelection = Selection.getInstance().getStructuredSelection();
   WizardDialog wd = MSG_SM_CommunicationClassOperationFormalize(structuredSelection);
   wd.open();
 }
 /** @see IActionDelegate#run(IAction) */
 public void run(IAction action) {
   IStructuredSelection structuredSelection = Selection.getInstance().getStructuredSelection();
   WizardDialog wd = SQ_CP_SpecializedPackageClassFormalize(structuredSelection);
   wd.open();
 }
 /** @see IActionDelegate#run(IAction) */
 public void run(IAction action) {
   IStructuredSelection structuredSelection = Selection.getInstance().getStructuredSelection();
   CNST_CSP_NewConstant(structuredSelection);
 }