Examples of open()


Examples of org.tuba.integration.dialog.IntegrationDialog.open()

          artefactID);
      XMLReference reference = new XMLReference(provider);
      IntegrationDialog dialog = new IntegrationDialog(PlatformUI
          .getWorkbench().getActiveWorkbenchWindow().getShell(),
          document);
      if (dialog.open() != Dialog.OK)
        continue;

      for (MetaArtefactOperation operation : dialog.getOperations()) {
        XMLArtefactOperation o = new XMLArtefactOperation(operation
            .getId());
View Full Code Here

Examples of org.tuba.spatschorke.diploma.operation.ecoretools.diagramfilter.ui.OptionsDialog.open()

    extractContent(oldConfiguration);

    OptionsDialog dialog = new OptionsDialog(shell);
    dialog.setNamePattern(namePattern);
    dialog.setAndMatching(andMatching);
    if (dialog.open() != Window.OK)
      return null;

    namePattern.clear();
    namePattern.addAll(dialog.getNamePattern());
    andMatching = dialog.isAndMatching();
View Full Code Here

Examples of org.tuba.spatschorke.diploma.operation.image.scale.ui.OptionsDialog.open()

      Configuration oldConfiguration) {
    extractContent(oldConfiguration);

    OptionsDialog dialog = new OptionsDialog(shell);
    dialog.setSpinnerValue(scaleValue);
    if (dialog.open() != Window.OK)
      return null;

    scaleValue = dialog.getSpinnerValue();

    return serializeConfiguration();
View Full Code Here

Examples of org.w3c.dom.Document.open()

                  "UTF-8");
              svgGenerator.stream(out, useCSS);
            } else if (filter.type == FORMAT_PDF) {
              com.itextpdf.text.Document document = new com.itextpdf.text.Document(new Rectangle(width, height));
              PdfWriter writer = PdfWriter.getInstance(document, stream);
              document.open();
              PdfContentByte cb = writer.getDirectContent();
              DefaultFontMapper fontMapper = new DefaultFontMapper();
              BaseFontParameters fontParameters = new BaseFontParameters("LiberationSans-Regular.ttf");
              fontParameters.encoding = BaseFont.IDENTITY_H;
              fontMapper.putName("Dialog.plain", fontParameters);
View Full Code Here

Examples of org.waveprotocol.box.server.persistence.memory.MemoryDeltaStore.open()

        MutateDocument.newBuilder().setDocumentId(BLIP_ID).setDocumentOperation(
            ProtocolDocumentOperation.newBuilder().build())).build();

    WaveletNotificationSubscriber notifiee = mock(WaveletNotificationSubscriber.class);
    DeltaStore deltaStore = new MemoryDeltaStore();
    WaveletState waveletState = DeltaStoreBasedWaveletState.create(deltaStore.open(WAVELET_NAME),
        PERSIST_EXECUTOR);
    wavelet = new LocalWaveletContainerImpl(WAVELET_NAME, notifiee,
        Futures.immediateFuture(waveletState), null, STORAGE_CONTINUATION_EXECUTOR);
    wavelet.awaitLoad();
  }
View Full Code Here

Examples of org.waveprotocol.box.server.waveserver.DeltaStore.open()


    long toRemove = 1;
    while (true) {
      // This generates the full file.
      DeltasAccess wavelet = store.open(WAVE1_WAVELET1);
      wavelet.append(ImmutableList.of(written));
      wavelet.close();

      RandomAccessFile file = new RandomAccessFile(deltaFile, "rw");
      if (toRemove > file.length()) {
View Full Code Here

Examples of org.xilaew.atg.dialogs.ActivityTestGenUserDialog.open()

      return null;
    }
    ActivityTestGenUserDialog dialog = new ActivityTestGenUserDialog(null,
        properties);
    // dialog.create();
    if (dialog.open() == Window.OK) {
      properties = dialog.getActivityTestGenProperties();

      Job job = new TestGenerationJob("Generating C++ unit tests from "
          + activity.getName(), activity, boostfile, properties);
      job.setUser(true);
View Full Code Here

Examples of org.xvr.xvrengine.widgets.RelativeDirectoryDialog.open()

  }

  protected void addEntry() {
    //DirectoryDialog dir = new DirectoryDialog(this.getShell());
    RelativeDirectoryDialog dir = new RelativeDirectoryDialog(this.getShell());
    String selected = dir.open();
    if(selected == null)
      return;
    this.lviewer.add(selected);
  }
 
View Full Code Here

Examples of org.xvr.xvrengine.widgets.SelectWorkspace.open()

   */
  @Override
  public Object execute(ExecutionEvent event) throws ExecutionException {
    SelectWorkspace dialog = new SelectWorkspace(Display.getDefault().getActiveShell(), true);
        
        if (dialog.open() == Dialog.CANCEL)
            return null;
        MessageDialog.openInformation(Display.getDefault().getActiveShell(), "Switch Workspace", "The client will now restart with the new workspace");
        // restart client
View Full Code Here

Examples of org.yaml.snakeyaml.serializer.Serializer.open()

        Tag rootTag = dumperOptions.getExplicitRoot();
        Serializer serializer = new Serializer(new Emitter(output, dumperOptions), new Resolver(),
                                               dumperOptions, rootTag);
        try
        {
            serializer.open();
            serializer.serialize(rootNode);
            serializer.close();
        }
        catch (IOException 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.