
package cz.karry.dop.nbmodule.dbg.breakpoints;

import org.netbeans.spi.debugger.ui.Controller;


public class DopBreakpointPanel extends javax.swing.JPanel implements Controller{

    /** Creates new form DopBreakpointPanel */
    public DopBreakpointPanel() {
        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.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        registerNameComboBox = new javax.swing.JComboBox();
        registerNameLabel = new javax.swing.JLabel();
        okButton = new javax.swing.JButton();
        stornoButton = new javax.swing.JButton();
        valueLabel = new javax.swing.JLabel();
        valueTextField = new javax.swing.JTextField();

        setBorder(javax.swing.BorderFactory.createTitledBorder(org.openide.util.NbBundle.getMessage(DopBreakpointPanel.class, "DopBreakpointPanel.border.title"))); // NOI18N

        registerNameLabel.setText(org.openide.util.NbBundle.getMessage(DopBreakpointPanel.class, "DopBreakpointPanel.registerNameLabel.text")); // NOI18N

        okButton.setText(org.openide.util.NbBundle.getMessage(DopBreakpointPanel.class, "DopBreakpointPanel.okButton.text")); // NOI18N

        stornoButton.setText(org.openide.util.NbBundle.getMessage(DopBreakpointPanel.class, "DopBreakpointPanel.stornoButton.text")); // NOI18N

        valueLabel.setText(org.openide.util.NbBundle.getMessage(DopBreakpointPanel.class, "DopBreakpointPanel.valueLabel.text")); // NOI18N

        valueTextField.setText(org.openide.util.NbBundle.getMessage(DopBreakpointPanel.class, "DopBreakpointPanel.valueTextField.text")); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap(67, Short.MAX_VALUE)
                .addComponent(stornoButton)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(okButton)
                .addContainerGap())
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(12, 12, 12)
                        .addComponent(registerNameLabel))
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(valueLabel)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(registerNameComboBox, 0, 126, Short.MAX_VALUE)
                    .addComponent(valueTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 126, Short.MAX_VALUE))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(registerNameLabel)
                    .addComponent(registerNameComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(valueLabel)
                    .addComponent(valueTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 12, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(okButton)
                    .addComponent(stornoButton))
                .addContainerGap())
        );

        getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(DopBreakpointPanel.class, "DopBreakpointPanel.AccessibleContext.accessibleName")); // NOI18N
        getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(DopBreakpointPanel.class, "DopBreakpointPanel.AccessibleContext.accessibleDescription")); // NOI18N
    }// </editor-fold>//GEN-END:initComponents

    public boolean ok() {
        if ( true ) {
            return false;
        }
        return true;
    }

    public boolean cancel() {
        return true;
    }


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton okButton;
    private javax.swing.JComboBox registerNameComboBox;
    private javax.swing.JLabel registerNameLabel;
    private javax.swing.JButton stornoButton;
    private javax.swing.JLabel valueLabel;
    private javax.swing.JTextField valueTextField;
    // End of variables declaration//GEN-END:variables

}
