Examples of open()


Examples of de.hwrberlin.it11.tsp.gui.dialog.NewNodeDialog.open()

            }
            AntProject project = getController().getProject();
            double zoomFactor = project.getParameter().getZoomFactor();
            NewNodeDialog newNodeDialog = new NewNodeDialog(getShell(), project, (pE.x - BORDER_WIDTH) / zoomFactor,
                (pE.y - BORDER_WIDTH) / zoomFactor);
            Node newNode = newNodeDialog.open();
            if (newNode != null) {
              project.getTSPData().addNode(newNode);
            }
          }
        }
View Full Code Here

Examples of de.hwrberlin.it11.tsp.gui.dialog.RandomProjectDialog.open()

      @Override
      public void widgetSelected(SelectionEvent pE) {
        if (!_currentTabContent.getController().isRunning()) {
          RandomProjectDialog randomProjectDialog = new RandomProjectDialog(pParent, _currentTabContent.getController().getProject());
          TSPData data = randomProjectDialog.open();
          if (data != null) {
            _currentTabContent.getController().getProject().setTSPData(data);
          }
        }
        else {
View Full Code Here

Examples of de.innovationgate.eclipse.dialogs.AddPortletModeDialog.open()

    performValidation();
  }

  private void handleAdd() {
    AddPortletModeDialog addDialog = new AddPortletModeDialog(getShell(), _model);
    addDialog.open();

    if (addDialog.getReturnCode() == Dialog.OK) {
      _model.add(addDialog.getMode());
    }
  }
View Full Code Here

Examples of de.innovationgate.eclipse.editors.design.dialogs.AddContentTypeMetaDefinitionDialog.open()

    protected void handleAddMetaDataDefinition() {
        WGContentTypeDefinition cTypeDef = retrieveCurrentContentTypeDefinition();
        if (cTypeDef != null) {
            AddContentTypeMetaDefinitionDialog dialog = new AddContentTypeMetaDefinitionDialog(Display.getCurrent().getActiveShell(), cTypeDef);
            dialog.setTitle("Content Type properties");
            int result = dialog.open();
            if (result == Dialog.OK) {
                if (dialog.getDefinitionsToAdd().size() > 0) {
                    List<WGMetaFieldDefinition> defs = dialog.getDefinitionsToAdd();
                    Collections.sort(defs, new Comparator<WGMetaFieldDefinition>() {
View Full Code Here

Examples of de.innovationgate.eclipse.wgadesigner.dialogs.AddExternalDesignDialog.open()

    Shell shell = new Shell(Display.getCurrent(), SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL);

    if (_selectedProject != null) {
      AddExternalDesignDialog dialog = new AddExternalDesignDialog(shell, _selectedProject);     
      dialog.open();
    }
  }
 
  public void selectionChanged(IAction action, ISelection selection) {
    action.setEnabled(false);
View Full Code Here

Examples of de.innovationgate.eclipse.wgadesigner.dialogs.AddTemplateDialog.open()

  }

  private void handleAdd() {
    AddTemplateDialog addDialog = new AddTemplateDialog(getShell());
    addDialog.open();
   
    if (addDialog.getReturnCode() == Dialog.OK) {
     
      _model.add(addDialog.getDesign());
    }
View Full Code Here

Examples of de.innovationgate.eclipse.wgadesigner.dialogs.AddWGARemoteServerDialog.open()

 
 

  private void handleAdd() {
    AddWGARemoteServerDialog addDialog = new AddWGARemoteServerDialog(getShell(),_remoteServerModel);
    addDialog.open();

    if (addDialog.getReturnCode() == Dialog.OK) {
      _remoteServerModel.add(addDialog.getServer());
      try {
        _serverstore.flush();
View Full Code Here

Examples of de.innovationgate.eclipse.wgadesigner.dialogs.ChangeDirlinkTargetDialog.open()

  public void run(IAction action) {
    Shell shell = new Shell(Display.getCurrent(), SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL);

    if (_selectedFodler != null) {
      ChangeDirlinkTargetDialog dialog = new ChangeDirlinkTargetDialog(shell, _selectedFodler);
      dialog.open();
    } else {
      Plugin.getDefault().logError("Can not open ChangeDirlinkTargetDialog. No Dirlinkfolder selected.");
    }

  }
View Full Code Here

Examples of de.jost_net.OBanToo.Dtaus.DtausDateiWriter.open()

        {
          monitor.log(i18n.tr("Ignoriere BLZ {0}: ung�ltig",s));
        }

       
        writer.open();
        writer.setAAusfuehrungsdatum(transfer.getTermin());
        writer.setABLZBank(blz);

        String type = (transfer instanceof SammelUeberweisung) ? "GK" : "LK";
        writer.setAGutschriftLastschrift(type);
View Full Code Here

Examples of de.tobject.findbugs.view.explorer.FilterBugsDialog.open()

        }
        Set<BugPattern> filtered = FindbugsPlugin.getFilteredPatterns();
        Set<BugCode> filteredTypes = FindbugsPlugin.getFilteredPatternTypes();
        FilterBugsDialog dialog = new FilterBugsDialog(navigator.getSite().getShell(), filtered, filteredTypes);
        dialog.setTitle("Bug Filter Configuration");
        int result = dialog.open();
        if (result != Window.OK) {
            return;
        }
        String selectedIds = dialog.getSelectedIds();
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.