Examples of open()


Examples of de.chris_soft.fyllgen.widget.dialog.MergeRelationshipDialog.open()

    }

    // SwtUtilities.sayInfo(Consts.getGui().shell,
    // "TO-DO - openAbsorbPartnerRelationDialog!");
    MergeRelationshipDialog mrd = new MergeRelationshipDialog(GUI.instance.shell, oldRelship, newRelship);
    mrd.open();
    if (mrd.finished) {
      Statics.mergeFamily.removeRelationship(newRelship);
    }
    return mrd.finished;
  }
View Full Code Here

Examples of de.chris_soft.fyllgen.widget.dialog.MultiPersonChoiceShell.open()

    for (Person p0 : persons) {
      mpcs.add(p0, "", true, false);
    }

    // Dialog �ffnen.
    mpcs.open();

    // Hat der User den Dialog �ber den OK-Button verlassen?
    if (mpcs.bPressedOkay) {
      // Ja, also hier bei allen angeklickten Personen die Zuordnung l�schen.
      List<Person> list = mpcs.getCheckedPersons();
View Full Code Here

Examples of de.chris_soft.fyllgen.widget.dialog.OptionsDialog.open()

   * Optionen-Dialog anzeigen.
   * @see org.eclipse.swt.widgets.Listener#handleEvent(org.eclipse.swt.widgets.Event)
   */
  public void handleEvent(Event event) {
    OptionsDialog optionsDialog = new OptionsDialog(GUI.instance.shell);
    optionsDialog.open();
  }
}
View Full Code Here

Examples of de.chris_soft.fyllgen.widget.dialog.PersonChoiceShell.open()

      PersonChoiceShell pcs = new PersonChoiceShell(GUI.instance.shell, "Zum Kind wechseln", "Zum Kind springen", null,
          1, true, null, false);
      for (Person person : persons) {
        pcs.addPerson(person, null);
      }
      pcs.open();

      if (pcs.personChoice != null) {
        // Es wurde eine vorhandene Person angew�hlt.
        Family.instance.setCurrentPerson(pcs.personChoice, 1);
      }
View Full Code Here

Examples of de.chris_soft.fyllgen.widget.dialog.PersonTagShell.open()

  public void handleEvent(Event event) {
    List<Person> list = new ArrayList<Person>();
    list.add(Family.instance.getCurrentPerson());

    PersonTagShell pcs = new PersonTagShell(GUI.instance.shell, list);
    pcs.open();
  }
}
View Full Code Here

Examples of de.chris_soft.fyllgen.widget.dialog.ReportCreationDialog.open()

  /**
   * @see org.eclipse.swt.widgets.Listener#handleEvent(org.eclipse.swt.widgets.Event)
   */
  public void handleEvent(Event event) {
    ReportCreationDialog reportCreationDialog = new ReportCreationDialog(GUI.instance.shell);
    reportCreationDialog.open();
  }
}
View Full Code Here

Examples of de.chris_soft.fyllgen.widget.dialog.TextInputDialog.open()

   */
  public static String askForTextInput(final Shell parent, final String msg) {
    Display.getDefault().syncExec(new Runnable() {
      public void run() {
        TextInputDialog tid = new TextInputDialog(parent, msg, false);
        tid.open();
        textinput = tid.getUserInput();
      }
    });
    return textinput;
  }
View Full Code Here

Examples of de.filiadata.lucene.spider.generated.msoffice2000.word.Documents.open()

      //             jedem Fall (auch bei file-Dokumenten) anstatt der
      //             Originaldatei eine tempor�re Kopie genutzt, da diese
      //             unm�glich von jemandem bearbeitet werden kann.
      String fileName = rawDocument.getContentAsFile(true).getAbsolutePath();
      Documents docs = mWordApplication.getDocuments();
      Document doc = docs.open(new Variant(fileName),
                               new Variant(false),    // confirmConversions
                               new Variant(true));    // readOnly

      // iterate through the sections
      StringBuffer content = new StringBuffer(DEFAULT_BUFFER_SIZE);
View Full Code Here

Examples of de.fu_berlin.inf.dpp.ui.dialogs.FeedbackDialog.open()

            return Utils.runSWTSync(new Callable<Boolean>() {

                public Boolean call() {
                    Dialog dialog = new FeedbackDialog(EditorAPI.getShell(),
                        saros, FeedbackManager.this, message);
                    return dialog.open() == Window.OK;
                }

            });
        } catch (Exception e) {
            log.error("Exception when trying to open FeedbackDialog.", e);
View Full Code Here

Examples of de.fu_berlin.inf.dpp.ui.wizards.dialogs.CenteredWizardDialog.open()

            return Utils.runSWTSync(new Callable<Integer>() {
                public Integer call() {
                    WizardDialog wizardDialog = new CenteredWizardDialog(
                        parentShell, wizard, initialSize);
                    wizardDialog.setHelpAvailable(false);
                    return wizardDialog.open();
                }
            });
        } catch (Exception e) {
            log.warn("Error opening wizard " + wizard.getWindowTitle(), e);
        }
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.