Package org.apache.uima.taeconfigurator.editors

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


  /**
   * Called by the framework to fill in the contents
   */
  protected void createFormContent(IManagedForm managedForm) {
    managedForm.getForm().setText("Parameter Definitions");
    Form2Panel form2Panel = setup2ColumnLayout(managedForm, 55, 45);
    managedForm.addPart(parameterSection = new ParameterSection(editor, form2Panel.left));
    managedForm.addPart(parameterDelegatesSection = new ParameterDelegatesSection(editor,
            form2Panel.right));
    createToolBarActions(managedForm);
  }
View Full Code Here


  /**
   * Called by the 3.0 framework to fill in the contents
   */
  protected void createFormContent(IManagedForm managedForm) {
    final Form2Panel form = setup2ColumnLayout(managedForm, EQUAL_WIDTH);
    managedForm.getForm().setText("Overview");

    if (isLocalProcessingDescriptor()) {
      managedForm.addPart(new GeneralSection(editor, form.left));
      managedForm.addPart(primitiveSection = new PrimitiveSection(editor, form.left));
View Full Code Here

  /**
   * Called by the framework to fill in the contents
   */
  protected void createFormContent(IManagedForm managedForm) {
    final Form2Panel form2Panel = setup2ColumnLayout(managedForm, editor.isAggregate() ? 50 : 90,
            editor.isAggregate() ? 50 : 10);
    managedForm.getForm().setText("Capabilities: Inputs and Outputs");
    managedForm.addPart(/* inputSection = */new CapabilitySection(editor, form2Panel.left));
    managedForm.addPart(sofaMapSection = new SofaMapSection(editor, form2Panel.right));
    createToolBarActions(managedForm);
View Full Code Here

   * Called by the framework to fill in the contents
   */
  protected void createFormContent(IManagedForm managedForm) {
    // always show same screen layout - user could dynamically switch
    managedForm.getForm().setText("Type System Definition");
    Form2Panel form2Panel = setup2ColumnLayout(managedForm, 60, 40);
    managedForm.addPart(typeSection = new TypeSection(editor, form2Panel.left));
    managedForm.addPart(typeImportSection = new TypeImportSection(editor, form2Panel.right));
    createToolBarActions(managedForm);
  }
View Full Code Here

      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 framework to fill in the contents */
  protected void createFormContent(IManagedForm managedForm) {

    final Form2Panel form = setup2ColumnLayout(managedForm, !EQUAL_WIDTH);
    managedForm.getForm().setText("Aggregate Delegates and Flows");

    managedForm.addPart(aggregateSection = new AggregateSection(editor, form.left));
    managedForm.addPart(flowSection = new FlowSection(editor, form.right));
    createToolBarActions(managedForm);
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

  /**
   * Called by the 3.0 framework to fill in the contents
   */
  protected void createFormContent(IManagedForm managedForm) {
    final Form2Panel form = setup2ColumnLayout(managedForm, EQUAL_WIDTH);
    managedForm.getForm().setText("Overview");

    if (isLocalProcessingDescriptor()) {
      managedForm.addPart(new GeneralSection(editor, form.left));
      managedForm.addPart(primitiveSection = new PrimitiveSection(editor, form.left));
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.