Package org.nasutekds.guitools.controlpanel.ui

Examples of org.nasutekds.guitools.controlpanel.ui.GenericDialog


      {
        if (editBinaryDlg == null)
        {
          editBinaryPanel = new BinaryAttributeEditorPanel();
          editBinaryPanel.setInfo(getInfo());
          editBinaryDlg = new GenericDialog(Utilities.getFrame(table),
              editBinaryPanel);
          editBinaryDlg.setModal(true);
          Utilities.centerGoldenMean(editBinaryDlg,
              Utilities.getParentDialog(table));
        }
        if (binaryValue != null)
        {
          editBinaryPanel.setValue(attrName, binaryValue);
        }
        else if (value != null)
        {
          if (value.length > 0)
          {
            editBinaryPanel.setValue(attrName,
                BinaryValue.createBase64(value));
          }
          else
          {
            editBinaryPanel.setValue(attrName, null);
          }
        }
        else
        {
          editBinaryPanel.setValue(attrName, null);
        }
        editBinaryDlg.setVisible(true);
        if (editBinaryPanel.valueChanged())
        {
          BinaryValue changedValue = editBinaryPanel.getBinaryValue();
          binaryValue = changedValue;
          value = null;
          ocValue = null;
        }
        fireEditingStopped();
      }
    });
    ocPanel = new ObjectClassCellPanel();
    ocPanel.addEditActionListener(new ActionListener()
    {
      /**
       * {@inheritDoc}
       */
      public void actionPerformed(ActionEvent ev)
      {

        if (editOcDlg == null)
        {
          editOcPanel = new ObjectClassEditorPanel();
          editOcPanel.setInfo(getInfo());
          editOcDlg = new GenericDialog(
              null,
              editOcPanel);
          editOcDlg.setModal(true);
          Utilities.centerGoldenMean(editOcDlg,
              Utilities.getParentDialog(table));
View Full Code Here


       superiorsPanel.setSchema(schema);
       if (!toExclude.isEmpty())
       {
         superiorsPanel.setObjectClassesToExclude(toExclude);
       }
       superiorsDialog = new GenericDialog(Utilities.getFrame(this),
           superiorsPanel);
       Utilities.centerGoldenMean(superiorsDialog,
           Utilities.getParentDialog(this));
       superiorsDialog.setModal(true);
       superiorsDialog.pack();
View Full Code Here

  private void changeButtonClicked()
  {
    if (schedulePanel == null)
    {
      schedulePanel = new TaskToSchedulePanel(taskName);
      scheduleDlg = new GenericDialog(Utilities.getFrame(this), schedulePanel);
      Utilities.centerGoldenMean(scheduleDlg, Utilities.getParentDialog(this));
      scheduleDlg.setModal(true);
    }
    scheduleDlg.setVisible(true);
    if (!schedulePanel.isCanceled())
View Full Code Here

TOP

Related Classes of org.nasutekds.guitools.controlpanel.ui.GenericDialog

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.