Examples of IOParameterEditor


Examples of org.activiti.designer.property.ui.IOParameterEditor

    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);
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.