Package com.dmissoh.biologic.dialog

Examples of com.dmissoh.biologic.dialog.EventDialog


  private void openDialog(String name, String startKey, String endKey) {
    Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow()
        .getShell();

    EventDialog eventDialog = new EventDialog(shell,
        "New Event Configuration");

    if (eventDialog.open() == Dialog.OK) {
      String eventName = eventDialog.getEventName();
      String eventStartKey = eventDialog.getStartEventKey();
      String eventEndKey = eventDialog.getEndEventKey();
      boolean punctual = eventDialog.isPunctual();

      EventConfiguration ec = null;
      if (!punctual) {
        ec = new EventConfiguration(eventName, eventStartKey.charAt(0),
            eventEndKey.charAt(0));
View Full Code Here

TOP

Related Classes of com.dmissoh.biologic.dialog.EventDialog

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.