Package org.apache.uima.taeconfigurator.editors

Examples of org.apache.uima.taeconfigurator.editors.Form2Panel


      public void controlResized(ControlEvent e) {
        setSashFormWidths();
      }
    });

    return new Form2Panel(form, leftPanel, rightPanel);
  }
View Full Code Here


        ((GridData) leftPanel.getLayoutData()).widthHint = minLeftPanelWidth;
        ((GridData) rightPanel.getLayoutData()).widthHint = minRightPanelWidth;
        sform.removeListener(SWT.Resize, this); // only do this one time
      }
    });
    return new Form2Panel(form, leftPanel, rightPanel);
  }
View Full Code Here

    });
    return new Form2Panel(form, leftPanel, rightPanel);
  }

  public Form2Panel setup2ColumnLayoutOn4Grid(IManagedForm managedForm, boolean equalWidth) {
    Form2Panel f = setup2ColumnLayoutNotSash(managedForm, equalWidth);
    ((GridLayout) f.form.getLayout()).numColumns = 4;
    ((GridData) f.left.getLayoutData()).horizontalSpan = 2;
    ((GridData) f.right.getLayoutData()).horizontalSpan = 2;
    return f;
  }
View Full Code Here

  /**
   * Called by the 3.0 framework to fill in the contents
   */
  protected void createFormContent(IManagedForm managedForm) {

    final Form2Panel form2Panel = setup2ColumnLayout(managedForm, EQUAL_WIDTH);
    managedForm.getForm().setText(
            (isLocalProcessingDescriptor() || isIndexDescriptor()) ? "Indexes" : "Type Priorities");
    if (!isTypePriorityDescriptor()) {
      managedForm.addPart(indexSection = new IndexSection(editor, form2Panel.left));
      managedForm.addPart(indexImportSection = new IndexImportSection(editor, form2Panel.right));
View Full Code Here

    // annotatorkey / key / key ... / declaredDependencyName
    // Bindings for same dependencyName at multiple levels:
    // outer ones override inner ones.

    managedForm.getForm().setText("Resources");
    Form2Panel form2panel = setup2ColumnLayout(managedForm, 50, 50);

    managedForm.addPart(extnlResBindSection = new ExtnlResBindSection(editor, form2panel.left));
    managedForm.addPart(resBindImportSection = new ImportResBindSection(editor, form2panel.left));
    managedForm.addPart(resourceDependencySection = new ResourceDependencySection(editor,
            form2panel.right));
View Full Code Here

  /**
   * Called by the framework to fill in the contents
   */
  protected void createFormContent(IManagedForm managedForm) {

    final Form2Panel form2Panel = setup2ColumnLayout(managedForm, EQUAL_WIDTH);

    managedForm.getForm().setText("Parameter Settings");
    managedForm.addPart(parameterSettingsSection = new ParameterSettingsSection(editor,
            form2Panel.left));
    managedForm.addPart(valueSection = new ValueSection(editor, form2Panel.right));
View Full Code Here

TOP

Related Classes of org.apache.uima.taeconfigurator.editors.Form2Panel

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.