Examples of ATFSettingsPanel


Examples of com.arjuna.ats.tools.toolsframework.panels.ATFSettingsPanel

    for (int count=0;count<plugins.size();count++)
    {
      ToolPlugin plugin = (ToolPlugin)plugins.get(count);

      ATFSettingsPanel panel = plugin.createSettingsPanel();

      /** If a panel is defined then add it to the tabbed pane **/
      if ( panel != null )
      {
        _tabPane.addTab(panel.getTabTitle(), panel);
      }
    }

    show();
  }
View Full Code Here

Examples of com.arjuna.ats.tools.toolsframework.panels.ATFSettingsPanel

    if ( actionCommand.equals("Apply") )
    {
      boolean success = true;
      for (int count=0;count<_tabPane.getTabCount();count++)
      {
        ATFSettingsPanel panel = (ATFSettingsPanel)_tabPane.getComponentAt(count);

        success &= panel.validateSettings();
      }

      if ( success )
      {
        for (int count=0;count<_tabPane.getTabCount();count++)
        {
          ATFSettingsPanel panel = (ATFSettingsPanel)_tabPane.getComponentAt(count);

          panel.settingsConfirmed();
        }

        dispose();
      }
    }
    else
    if ( actionCommand.equals("Cancel") )
    {
      for (int count=0;count<_tabPane.getTabCount();count++)
      {
        ATFSettingsPanel panel = (ATFSettingsPanel)_tabPane.getComponentAt(count);

        panel.settingsAborted();
      }

      dispose();
    }
  }
View Full Code Here
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.