Examples of open()


Examples of org.jbpm.ui.dialog.UpdateVariableNameDialog.open()

            IStructuredSelection selection = (IStructuredSelection) viewer.getSelection();
            Variable variable = (Variable) selection.getFirstElement();

            UpdateVariableNameDialog dialog = new UpdateVariableNameDialog(editor.getDefinition());
            dialog.setName(variable.getName());
            int result = dialog.open();
            if (result != IDialogConstants.OK_ID) {
                return;
            }
            String replacement = dialog.getName();
View Full Code Here

Examples of org.jbpm.ui.dialog.UserInputDialog.open()

            }
            String oldUserInput = (String) combo.getData(DATA_KEY);
            String type = (String) combo.getData(TYPE_KEY);
            UserInputDialog inputDialog = dialogClassesForTypes.get(type);
            inputDialog.setInitialValue(oldUserInput);
            if (Dialog.OK == inputDialog.open()) {
                String userInput = inputDialog.getUserInput();
                if (oldUserInput != null) {
                    combo.remove(0);
                }
                combo.setData(DATA_KEY, userInput);
View Full Code Here

Examples of org.jbpm.ui.validation.ValidatorDialog.open()

    }

    public void openValidationFile(FormNode formNode, IFile validationFile) {
        ValidatorWizard wizard = new ValidatorWizard(validationFile, formNode);
        ValidatorDialog dialog = new ValidatorDialog(Display.getDefault().getActiveShell(), wizard);
        if (dialog.open() == IDialogConstants.OK_ID) {
            formNode.setDirty();
        }
    }

    private void setNewValidationFormFile(FormNode formNode, String fileName) {
View Full Code Here

Examples of org.jcoredb.fs.IFileSystem.open()

  @Test
  public void appendSingleThreadedTest() throws Exception
  {
    IFileSystem fs = new FileSystem(Constants.ROOT_PATH);
    fs.create(0);
    fs.open();
   
    Block[] blocks = new Block[NUM_OF_BLOCKS_TO_APPEND];
   
    String testStr = "<test> <content> Hello world! </content> </test>";
    byte[] content = testStr.getBytes();
View Full Code Here

Examples of org.jcoredb.fs.impl.FileSystem.open()

    fs.create(Integer.MAX_VALUE);
    fs.close();
   
    //Open the File System
    fs = new FileSystem(Constants.ROOT_PATH);
    fs.open();
    fs.drop(Integer.MAX_VALUE);
   
    assertTrue(new File(Constants.ROOT_PATH + org.jcoredb.system.Constants.PATH_SEP + 0).exists());
    assertFalse(new File(Constants.ROOT_PATH + org.jcoredb.system.Constants.PATH_SEP + Integer.MAX_VALUE).exists());
  }
View Full Code Here

Examples of org.jcoredb.fs.impl.MultiThreadedFileSystem.open()

  public void appendMultiThreadedTest() throws Exception
  {
   
    IFileSystem fs = new MultiThreadedFileSystem(Constants.ROOT_PATH);
    fs.create(0);
    fs.open();
   
    Block[] blocks = new Block[NUM_OF_BLOCKS_TO_APPEND];
   
    String testStr = "<test> <content> Hello world! </content> </test>";
    byte[] content = testStr.getBytes();
View Full Code Here

Examples of org.jfree.experimental.chart.swt.editor.SWTChartEditor.open()

     */
    private void attemptEditChartProperties() {
        SWTChartEditor editor = new SWTChartEditor(this.canvas.getDisplay(),
                this.chart);
        //ChartEditorManager.getChartEditor(canvas.getDisplay(), this.chart);
        editor.open();
    }

    /**
     * Returns <code>true</code> if file extensions should be enforced, and
     * <code>false</code> otherwise.
View Full Code Here

Examples of org.jfree.report.ReportDataFactory.open()

    synchronized(job)
    {
      final ReportDataFactory dataFactory = job.getDataFactory();
      if (dataFactory != null)
      {
        dataFactory.open();
      }
    }
  }

  protected GraphicsOutputProcessor getGraphicsProcessor()
View Full Code Here

Examples of org.jitterbit.application.ui.browser.WebBrowser.open()

        String text = textField.getText().trim();
        if (text.length() == 0) {
            return;
        }
        WebBrowser browser = getBrowser();
        browser.open(text);
    }

    private static WebBrowser getBrowser() {
        if (browser == null) {
            try {
View Full Code Here

Examples of org.jitterbit.application.ui.groovy.GroovyConsole.open()

    }

    private void openConsole() {
        GroovyConsole console = getConsole();
        if (console != null) {
            console.open(getWindow());
        }
    }

    private GroovyConsole getConsole() {
        ApplicationContext ctx = Application.getAppContext();
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.