Package org.dyno.visual.swing.wizards

Source Code of org.dyno.visual.swing.wizards.NewCustomContainerWizard

package org.dyno.visual.swing.wizards;

import javax.swing.JPanel;

import org.eclipse.jface.dialogs.DialogSettings;
import org.eclipse.jface.dialogs.IDialogSettings;

public class NewCustomContainerWizard extends NewVisualComponentVizard {
  public NewCustomContainerWizard() {
    super(JPanel.class.getName());
  }
  @Override
  public IDialogSettings getDialogSettings() {
    IDialogSettings dialogSettings2 = super.getDialogSettings();
    IDialogSettings section = dialogSettings2.getSection(NewComponentPage.PAGE_NAME);
    if (section == null) {
      section = new DialogSettings(NewComponentPage.PAGE_NAME);
      dialogSettings2.addSection(section);
    }
    section.put(NewComponentPage.SETTINGS_CREATEMAIN, false);
    return dialogSettings2;
 
  @Override
  protected NewComponentPage createPage() {
    return new NewCustomContainerPage();
  }

}
TOP

Related Classes of org.dyno.visual.swing.wizards.NewCustomContainerWizard

TOP
Copyright © 2018 www.massapi.com. 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.