Package org.netbeans.modules.openoffice.wizard.panels.service

Source Code of org.netbeans.modules.openoffice.wizard.panels.service.ServiceSelectionPanel

/*
* ServiceSelection.java
*
* Created on September 23, 2002, 3:37 PM
*/

package org.netbeans.modules.openoffice.wizard.panels.service;


import org.openide.WizardDescriptor;
import org.openide.util.HelpCtx;
import org.openide.util.NbBundle;

/**
*
* @author  bn126049
*/
public class ServiceSelectionPanel extends javax.swing.JPanel
implements WizardDescriptor.Panel {
    private boolean initialized;
   
    /** Creates new form ServiceSelection */
    public ServiceSelectionPanel() {
        initComponents();
    }
   
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    private void initComponents() {//GEN-BEGIN:initComponents
        java.awt.GridBagConstraints gridBagConstraints;

        jpanelServicesInterfaces = new javax.swing.JPanel();
        jlabelServices = new javax.swing.JLabel();
        jlistServices = new javax.swing.JList();
        jbuttonAddService = new javax.swing.JButton();
        jbuttonRemoveService = new javax.swing.JButton();
        jlabelInterfaces = new javax.swing.JLabel();
        jlistInterfaces = new javax.swing.JList();
        jbuttonAddInterface = new javax.swing.JButton();
        jbuttonRemoveInterface = new javax.swing.JButton();
        jlabelDescriptionServicesInterfaces = new javax.swing.JLabel();
        jlabelDescriptionServicesInterfaces2 = new javax.swing.JLabel();
        jlabelDescriptionServicesInterfaces3 = new javax.swing.JLabel();

        setLayout(new java.awt.GridBagLayout());

        jpanelServicesInterfaces.setLayout(new java.awt.GridBagLayout());

        jlabelServices.setText(java.util.ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/panels/service/BundleServiceSelection").getString("LBL_Services"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpanelServicesInterfaces.add(jlabelServices, gridBagConstraints);

        jlistServices.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/panels/service/BundleServiceSelection").getString("LBL_ServiceListToolTip"));
        jlistServices.setPreferredSize(new java.awt.Dimension(200, 100));
        initialized = true;

        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.gridwidth = 3;
        gridBagConstraints.gridheight = 3;
        gridBagConstraints.insets = new java.awt.Insets(0, 10, 0, 0);
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpanelServicesInterfaces.add(jlistServices, gridBagConstraints);

        jbuttonAddService.setText(java.util.ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/panels/service/BundleServiceSelection").getString("LBL_ServiceAddButton"));
        jbuttonAddService.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/panels/service/BundleServiceSelection").getString("LBL_ServiceAddButtonToolTip"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpanelServicesInterfaces.add(jbuttonAddService, gridBagConstraints);

        jbuttonRemoveService.setText(java.util.ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/panels/service/BundleServiceSelection").getString("LBL_ServiceRemoveButton"));
        jbuttonRemoveService.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/panels/service/BundleServiceSelection").getString("LBL_ServiceRemoveButtonToolTip"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 1;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpanelServicesInterfaces.add(jbuttonRemoveService, gridBagConstraints);

        jlabelInterfaces.setText(java.util.ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/panels/service/BundleServiceSelection").getString("LBL_Interfaces"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.insets = new java.awt.Insets(10, 0, 0, 0);
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpanelServicesInterfaces.add(jlabelInterfaces, gridBagConstraints);

        jlistInterfaces.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/panels/service/BundleServiceSelection").getString("LBL_InterfaceListToolTip"));
        jlistInterfaces.setPreferredSize(new java.awt.Dimension(200, 100));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.gridwidth = 3;
        gridBagConstraints.gridheight = 3;
        gridBagConstraints.insets = new java.awt.Insets(10, 10, 0, 10);
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpanelServicesInterfaces.add(jlistInterfaces, gridBagConstraints);

        jbuttonAddInterface.setText(java.util.ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/panels/service/BundleServiceSelection").getString("LBL_InterfaceAddButton"));
        jbuttonAddInterface.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/panels/service/BundleServiceSelection").getString("LBL_InterfaceAddButtonToolTip"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.insets = new java.awt.Insets(10, 0, 0, 0);
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpanelServicesInterfaces.add(jbuttonAddInterface, gridBagConstraints);

        jbuttonRemoveInterface.setText(java.util.ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/panels/service/BundleServiceSelection").getString("LBL_InterfaceRemoveButton"));
        jbuttonRemoveInterface.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/panels/service/BundleServiceSelection").getString("LBL_InterfaceRemoveButtonToolTip"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 5;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpanelServicesInterfaces.add(jbuttonRemoveInterface, gridBagConstraints);

        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 3;
        add(jpanelServicesInterfaces, gridBagConstraints);

        jlabelDescriptionServicesInterfaces.setText(java.util.ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/panels/service/BundleServiceSelection").getString("LBL_DescriptionServiceSelection"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        add(jlabelDescriptionServicesInterfaces, gridBagConstraints);

        jlabelDescriptionServicesInterfaces2.setText(java.util.ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/panels/service/BundleServiceSelection").getString("LBL_DescriptionServiceSelection2"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        add(jlabelDescriptionServicesInterfaces2, gridBagConstraints);

        jlabelDescriptionServicesInterfaces3.setText(java.util.ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/panels/service/BundleServiceSelection").getString("LBL_DescriptionServiceSelection3"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 10, 0);
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        add(jlabelDescriptionServicesInterfaces3, gridBagConstraints);

    }//GEN-END:initComponents
   
    public void addChangeListener(javax.swing.event.ChangeListener changeListener) {
    }
   
    public java.awt.Component getComponent() {
        if ( !initialized ) {
            initialize();
        }
       
        return this;
    }
   
    public org.openide.util.HelpCtx getHelp() {
        return new HelpCtx( "org.netbeans.modules.openoffice.help.HOMEID" );
    }
   
    public void readSettings(Object obj) {
    }
   
    public void removeChangeListener(javax.swing.event.ChangeListener changeListener) {
    }
   
    public void storeSettings(Object obj) {
    }
   
    private void initialize() {
        initComponents();
        setName( NbBundle.getMessage( ServiceSelectionPanel.class,
        "TITLE_WizardPanel" ) );
    }
   
    public boolean isValid() {
        return true;
    }
   
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel jlabelDescriptionServicesInterfaces3;
    private javax.swing.JLabel jlabelDescriptionServicesInterfaces2;
    private javax.swing.JButton jbuttonRemoveInterface;
    private javax.swing.JButton jbuttonRemoveService;
    private javax.swing.JButton jbuttonAddInterface;
    private javax.swing.JPanel jpanelServicesInterfaces;
    private javax.swing.JButton jbuttonAddService;
    private javax.swing.JLabel jlabelDescriptionServicesInterfaces;
    private javax.swing.JLabel jlabelServices;
    private javax.swing.JList jlistServices;
    private javax.swing.JLabel jlabelInterfaces;
    private javax.swing.JList jlistInterfaces;
    // End of variables declaration//GEN-END:variables
   
}
TOP

Related Classes of org.netbeans.modules.openoffice.wizard.panels.service.ServiceSelectionPanel

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.