Package org.openbp.jaspira.gui.wizard

Examples of org.openbp.jaspira.gui.wizard.JaspiraWizardObjectPage


          {
            activity.getHandlerDefinition().setHandlerClassName(ClassNameBuilderUtil.constructActivityClassName(activity));

            // Redisplay the activity in the property browser
            // We have to do this because the event was already handled by the page *before* we get called.
            JaspiraWizardObjectPage page = (JaspiraWizardObjectPage) event.wizard.getPage(pageName);
            page.handleWizardEvent(event);
          }

          context.setClassnameSet(true);
        }
      }
View Full Code Here


          // ... we need to initialize the process according to its process type now.
          initializeProcess(context);

          // Redisplay the process in the property browser
          // We have to do this because the event was already handled by the page *before* we get called.
          JaspiraWizardObjectPage page = (JaspiraWizardObjectPage) event.wizard.getPage(pageName);
          page.handleWizardEvent(event);
        }

        // Save the original item for later restore after a back button
        if (context.getOriginalItem() == null)
        {
View Full Code Here

    MemberPage memberPage = new MemberPage(wizard);
    wizard.addAndLinkPage(MEMBER_PAGE, memberPage);
    wizard.getManager().setNext(MEMBER_PAGE, MEMBER_PAGE);

    // Customize the property page
    JaspiraWizardObjectPage objectPage = (JaspiraWizardObjectPage) wizard.getPage("property");

    // Constrain the visible element
    PropertyBrowser oe = objectPage.getPropertyBrowser();
    oe.setVisibleMembers(typeVisibleProperties);

    // Add the 'Addd member' button below the property browser
    JPanel buttonPanel = createButtonPanel();
    buttonPanel.add(BorderLayout.CENTER, createAddButton(context, objectPage));
    objectPage.getContentPanel().add(buttonPanel, BorderLayout.SOUTH);
  }
View Full Code Here

          {
            type.setClassName(ClassNameBuilderUtil.constructTypeClassName(type));

            // Redisplay the type in the property browser
            // We have to do this because the event was already handled by the page *before* we get called.
            JaspiraWizardObjectPage page = (JaspiraWizardObjectPage) event.wizard.getPage(pageName);
            page.handleWizardEvent(event);
          }

          context.setClassnameSet(true);
        }

        currentMemberIndex = 0;

        List memberList = type.getMemberList();
        JaspiraWizardObjectPage objectPage = (JaspiraWizardObjectPage) event.wizard.getPage(pageName);
        objectPage.canMoveForward = memberList != null && currentMemberIndex < memberList.size() - 1;
      }
    }

    super.processWizardEvent(context, event);
View Full Code Here

TOP

Related Classes of org.openbp.jaspira.gui.wizard.JaspiraWizardObjectPage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.