Package org.openbp.cockpit.generator

Examples of org.openbp.cockpit.generator.GeneratorContext


  /**
   * Updates the status (description, next/finish buttons) of the page.
   */
  private void updatePageStatus()
  {
    GeneratorContext context = getContext();
    Generator generator = context.getSelectedGenerator();

    String description = generator != null ? generator.getDescription() : defaultDescription;
    setDescription(description);

    canFinish = false;
    canMoveForward = false;
    if (generator != null)
    {
      if (!context.isInvalidGenerator())
      {
        SequenceManager manager = getWizard().getManager();

        if (manager.getNext() != null)
        {
View Full Code Here


      JPanel buttonPanel = new JPanel();
      buttonPanel.setBackground(SkyTheme.COLOR_BACKGROUND_LIGHT);
      buttonPanel.setLayout(new BorderLayout());
      buttonPanel.setBorder(new EmptyBorder(5, 4, 5, 5));

      GeneratorContext context = wizard.getContext();

      buttonPanel.add(BorderLayout.CENTER, createAddButton(context, this));
      buttonPanel.add(BorderLayout.EAST, createRemoveButton(context, this));

      getContentPanel().add(buttonPanel, BorderLayout.SOUTH);
View Full Code Here

TOP

Related Classes of org.openbp.cockpit.generator.GeneratorContext

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.