Package org.eclipse.ui.views.properties.tabbed

Examples of org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory


  @Override
  public void createControls(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) {
    super.createControls(parent, tabbedPropertySheetPage);

    TabbedPropertySheetWidgetFactory factory = getWidgetFactory();
    Composite composite = factory.createFlatFormComposite(parent);
    FormData data;

    idText = createText(composite, factory, null);
    createLabel(composite, "Id:", idText, factory); //$NON-NLS-1$
   
    nameText = createText(composite, factory, idText);
    createLabel(composite, "Name:", nameText, factory); //$NON-NLS-1$
   
    namespaceText = createText(composite, factory, nameText);
    createLabel(composite, "Namespace:", namespaceText, factory); //$NON-NLS-1$
   
    candidateStarterUsersText = createText(composite, factory, namespaceText);
    createLabel(composite, "Candidate start users (comma separated):",  candidateStarterUsersText, factory);
   
    candidateStarterGroupsText = createText(composite, factory, candidateStarterUsersText);
    createLabel(composite, "Candidate start groups (comma separated):",  candidateStarterGroupsText, factory);
   
    documentationText = factory.createText(composite, "", SWT.MULTI | SWT.BORDER | SWT.WRAP | SWT.V_SCROLL); //$NON-NLS-1$
    data = new FormData(SWT.DEFAULT, 100);
    data.left = new FormAttachment(0, 250);
    data.right = new FormAttachment(100, 0);
    data.top = new FormAttachment(candidateStarterGroupsText, VSPACE);
    documentationText.setLayoutData(data);
View Full Code Here


 
  @Override
  public void createControls(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) {
    super.createControls(parent, tabbedPropertySheetPage);

    TabbedPropertySheetWidgetFactory factory = getWidgetFactory();
    Composite composite = factory.createFlatFormComposite(parent);
   
    messageCombo = getWidgetFactory().createCCombo(composite, SWT.NONE);
    FormData data = new FormData();
    data.left = new FormAttachment(0, 160);
    data.right = new FormAttachment(100, -HSPACE);
View Full Code Here

 
  @Override
  public void createControls(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) {
    super.createControls(parent, tabbedPropertySheetPage);

    TabbedPropertySheetWidgetFactory factory = getWidgetFactory();
    Composite composite = factory.createFlatFormComposite(parent);
   
    initiatorText = createText(composite, factory, null);
    createLabel(composite, "Initiator", initiatorText, factory); //$NON-NLS-1$

    formKeyText = createText(composite, factory, initiatorText);
View Full Code Here

  @Override
  public void createControls(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) {
    super.createControls(parent, tabbedPropertySheetPage);

    TabbedPropertySheetWidgetFactory factory = getWidgetFactory();
    Composite composite = factory.createFlatFormComposite(parent);
    FormData data;

    cancelActivityCombo = factory.createCCombo(composite, SWT.NONE);
    cancelActivityCombo.setItems((String[]) cancelFormats.toArray());
    data = new FormData();
    data.left = new FormAttachment(0, 160);
    data.right = new FormAttachment(100, 0);
    data.top = new FormAttachment(0, VSPACE);
View Full Code Here

  @Override
  public void createControls(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) {
    super.createControls(parent, tabbedPropertySheetPage);

    TabbedPropertySheetWidgetFactory factory = getWidgetFactory();
    Composite composite = factory.createFlatFormComposite(parent);
    FormData data;
   
    Composite inParametersComposite = factory.createComposite(composite, SWT.WRAP);
    data = new FormData();
    data.left = new FormAttachment(0, 150);
    data.right = new FormAttachment(100, 0);
    data.top = new FormAttachment(0, VSPACE);
    inParametersComposite.setLayoutData(data);
    GridLayout layout = new GridLayout();
    layout.marginTop = 0;
    layout.numColumns = 1;
    inParametersComposite.setLayout(layout);
    inParameterEditor = new IOParameterEditor("inputParameterEditor", inParametersComposite);
    inParameterEditor.getLabelControl(inParametersComposite).setBackground(Display.getDefault().getSystemColor(SWT.COLOR_WHITE));
   
    CLabel inParametersLabel = factory.createCLabel(composite, "Input parameters:"); //$NON-NLS-1$
    data = new FormData();
    data.left = new FormAttachment(0, 0);
    data.right = new FormAttachment(inParametersComposite, -HSPACE);
    data.top = new FormAttachment(inParametersComposite, 0, SWT.TOP);
    inParametersLabel.setLayoutData(data);
   
    Composite outParametersComposite = factory.createComposite(composite, SWT.WRAP);
    data = new FormData();
    data.left = new FormAttachment(0, 150);
    data.right = new FormAttachment(100, 0);
    data.top = new FormAttachment(inParametersComposite, VSPACE);
    outParametersComposite.setLayoutData(data);
    GridLayout outLayout = new GridLayout();
    layout.marginTop = 0;
    layout.numColumns = 1;
    outParametersComposite.setLayout(outLayout);
    outParameterEditor = new IOParameterEditor("outputParameterEditor", outParametersComposite);
    outParameterEditor.getLabelControl(outParametersComposite).setBackground(Display.getDefault().getSystemColor(SWT.COLOR_WHITE));
   
    CLabel outParametersLabel = factory.createCLabel(composite, "Output parameters:"); //$NON-NLS-1$
    data = new FormData();
    data.left = new FormAttachment(0, 0);
    data.right = new FormAttachment(outParametersComposite, -HSPACE);
    data.top = new FormAttachment(outParametersComposite, 0, SWT.TOP);
    outParametersLabel.setLayoutData(data);
View Full Code Here

  @Override
  public void createControls(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) {
    super.createControls(parent, tabbedPropertySheetPage);

    TabbedPropertySheetWidgetFactory factory = getWidgetFactory();
    Composite composite = factory.createFlatFormComposite(parent);
    FormData data;

    performerTypeCombo = createCCombo(composite, performerTypes, factory, null);
    createLabel("Performer type:", composite, factory, performerTypeCombo);

    expressionText = createText(composite, factory, performerTypeCombo);
    createLabel("Expression:", composite, factory, expressionText);

    formTypeCombo = createCCombo(composite, PreferencesUtil.getStringArray(Preferences.ALFRESCO_FORMTYPES_USERTASK),
            factory, expressionText);
    createLabel("Form key:", composite, factory, formTypeCombo);
   
    priorityText = createText(composite, factory, formTypeCombo);
    createLabel("Priority:", composite, factory, priorityText);

    documentationText = factory.createText(composite, "", SWT.MULTI | SWT.BORDER | SWT.WRAP | SWT.V_SCROLL); //$NON-NLS-1$
    data = new FormData(SWT.DEFAULT, 100);
    data.left = new FormAttachment(0, 160);
    data.right = new FormAttachment(100, 0);
    data.top = new FormAttachment(priorityText, VSPACE);
    documentationText.setLayoutData(data);
View Full Code Here

 
  @Override
  public void createControls(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) {
    super.createControls(parent, tabbedPropertySheetPage);

    TabbedPropertySheetWidgetFactory factory = getWidgetFactory();
    Composite composite = factory.createFlatFormComposite(parent);
    FormData data;

    formTypeCombo = factory.createCCombo(composite, SWT.NONE); //$NON-NLS-1$
    List<String> formTypes = PreferencesUtil.getStringArray(Preferences.ALFRESCO_FORMTYPES_STARTEVENT);
    for (String formType : formTypes) {
      formTypeCombo.add(formType);
    }
    data = new FormData();
    data.left = new FormAttachment(0, 120);
    data.right = new FormAttachment(100, 0);
    data.top = new FormAttachment(0, VSPACE);
    formTypeCombo.setLayoutData(data);
    formTypeCombo.addFocusListener(listener);

    CLabel formKeyLabel = factory.createCLabel(composite, "Form key:"); //$NON-NLS-1$
    data = new FormData();
    data.left = new FormAttachment(0, 0);
    data.right = new FormAttachment(formTypeCombo, -HSPACE);
    data.top = new FormAttachment(formTypeCombo, 0, SWT.TOP);
    formKeyLabel.setLayoutData(data);
View Full Code Here

  @Override
  public void createControls(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) {
    super.createControls(parent, tabbedPropertySheetPage);

    TabbedPropertySheetWidgetFactory factory = getWidgetFactory();
    Composite composite = factory.createFlatFormComposite(parent);
   
    toText = createControl(composite, null, false);
    createLabel(composite, "To:", toText); //$NON-NLS-1$
    toManyText = createControl(composite, toText, false);
    createLabel(composite, "To many:", toManyText); //$NON-NLS-1$
View Full Code Here

  @Override
  public void createControls(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) {
    super.createControls(parent, tabbedPropertySheetPage);

    TabbedPropertySheetWidgetFactory factory = getWidgetFactory();
    Composite composite = factory.createFlatFormComposite(parent);
    FormData data;

    scriptText = factory.createText(composite, "", SWT.MULTI | SWT.BORDER | SWT.WRAP | SWT.V_SCROLL); //$NON-NLS-1$
    data = new FormData(SWT.DEFAULT, 100);
    data.left = new FormAttachment(0, 160);
    data.right = new FormAttachment(100, 0);
    data.top = new FormAttachment(0, VSPACE);
    scriptText.setLayoutData(data);
View Full Code Here

TOP

Related Classes of org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory

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.