Package com.volantis.mcs.eclipse.controls

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


        layout.marginWidth = 0;
        displayArea.setLayout(layout);
        displayArea.setLayoutData(new GridData(GridData.FILL_BOTH));
        displayArea.setBackground(getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND));
        // add the list value builder to the display area
        listBuilder = new ListValueBuilder(displayArea, false, null);
        GridData listData = new GridData(GridData.FILL_BOTH);
        listBuilder.setLayoutData(listData);
        listBuilder.setBackground(getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND));

        // list value builder is initially disabled.
View Full Code Here


    /**
     * Creates and returns a custom ListValueBuilder control for this section.
     * @return the ListValueBuilder control
     */
    private ListValueBuilder createListValueBuilder() {
        return new ListValueBuilder(displayArea, true, null) {

            // javadoc inherited
            protected TableViewer createTableViewer(Composite container) {
                // Create a single-selection table with scroll bars and
                // three columns.
View Full Code Here

     * Creates the ListValueBuilder control that allows the selection types
     * keywords to be defined.
     */
    private void addSelectionValueBuilder() {
        selectionValueBuilderLabel = createLabel(SELECTION_VALUES_LABEL);
        selectionValueBuilder = new ListValueBuilder(displayArea, true, null);
        selectionValueBuilder.setLayoutData(
                    new GridData(GridData.FILL_HORIZONTAL));
        selectionValueBuilder.setBackground(
                    getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND));
        selectionKeywordListener = new ModifyListener() {
View Full Code Here

        displayArea.setLayout(layout);
        displayArea.setLayoutData(new GridData(GridData.FILL_BOTH));
        displayArea.setBackground(getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND));

        // add the list value builder to the display area
        listBuilder = new ListValueBuilder(displayArea, false, null);
        GridData listData = new GridData(GridData.FILL_BOTH);
        listBuilder.setLayoutData(listData);
        listBuilder.setBackground(getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND));
        createRestoreMechanism(displayArea);
View Full Code Here

                        selectionElement);
            }

            // Create the ListValueBuilder for unordered lists
            // with the selection dialog, if any.
            ListValueBuilder listVB =
                    new ListValueBuilder(parent,
                            false, dialog);

            listPVM = new ListPolicyValueModifier(listVB, policyName, dram);
        } else {
            throw new IllegalStateException("The policy type " +
View Full Code Here

            if (selectionElement != null) {
                dialog = new PolicyValueSelectionDialog(
                        parent.getShell(),
                        policyName, selectionElement);
            }
            ListValueBuilder listVB =
                    new ListValueBuilder(parent, true, dialog);

            listPVM = new ListPolicyValueModifier(listVB, policyName, dram);
        } else {
            throw new IllegalStateException("The policy type " +
                    "element for " + policyName + " is null.");
View Full Code Here

        createDeviceCombo(container);
        createPolicyValueCombo(container);

        TimeSelectionDialog selectionDialog =
                new TimeSelectionDialog(getShell(), null);
        ListValueBuilder listBuilder1 = createListBuilder(true, selectionDialog);
        lpvm = createLPVM(listBuilder1);

        selectedDevice = deviceCombo.getText();
        selectedPolicy = policyCombo.getText();
View Full Code Here

     * @param dialog the SelectionDialog to use, if any. Can be null.
     * @return the ListValueBuilder
     */
    private ListValueBuilder createListBuilder(boolean ordered,
                                          SelectionDialog dialog) {
        ListValueBuilder listBuilder = new ListValueBuilder(getShell(),
                ordered, dialog);
        return listBuilder;
    }
View Full Code Here

TOP

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

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.