Package com.volantis.mcs.eclipse.controls

Examples of com.volantis.mcs.eclipse.controls.PackingLayout


        this.odomElement = odomElement;
        this.details = details;
        this.odomSelectionManager = odomSelectionManager;
        this.filter = filter;

        setLayout(new PackingLayout());

        odomSelectionListener = new ODOMElementSelectionListener() {
            // javadoc inherited.
            public void selectionChanged(ODOMElementSelectionEvent event) {
                updateSecondaryControls(event, details);
            }
        };

        odomSelectionManager.addSelectionListener(odomSelectionListener, filter);

        String title = details.getTitle();
        if (title != null) {
            // Create a horizontal line with a the section title as the label.
            labelLine = new HorizontalLabelLine(this, SWT.NONE,
                    getResourceString(title));
        }
        AttributesCompositeBuilder builder = AttributesCompositeBuilder.getSingleton();

        // All the controls of each section go into the wrapped composite.
        attributesComposite = builder.buildAttributesComposite(this,
                details.getDetails(), project, new PackingLayout(2), handler);

        enableDisplayArea();

        if (odomElement.getName().equals(ODOMElement.NULL_ELEMENT_NAME)) {
            disableDisplayArea();
View Full Code Here

TOP

Related Classes of com.volantis.mcs.eclipse.controls.PackingLayout

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.