Package com.volantis.mcs.eclipse.ab.editors.dom

Examples of com.volantis.mcs.eclipse.ab.editors.dom.ProxyElement


    private void intializeMainTabDetails(ODOMEditorContext odomEditorContext,
                                            IProject project,
                                            TabFolder tabFolder) {

        LayoutProxyElementDetails layoutDetails = new LayoutProxyElementDetails();
        ProxyElement element = new ProxyElement(layoutDetails,
                odomEditorContext.getODOMFactory());

        ODOMChangeListener changeListener = new ODOMChangeListener() {
            public void changed(ODOMObservable node, ODOMChangeEvent event) {
                mainElementChanged(event);
            }
        };
        element.addChangeListener(changeListener);

            // Create the main tab selection filter.
        ODOMSelectionFilter odomSelectionFilter = new ODOMSelectionFilter(
                null, new String[] {
                    LayoutSchemaType.LAYOUT.getName(),
View Full Code Here


    private void initializeRowTabDetails(ODOMEditorContext odomEditorContext,
                                           IProject project,
                                           TabFolder tabFolder) {

        LayoutProxyElementDetails layoutDetails = new LayoutProxyElementDetails();
        ProxyElement element = new ProxyElement(layoutDetails,
                odomEditorContext.getODOMFactory());

        ODOMChangeListener changeListener = new ODOMChangeListener() {
            public void changed(ODOMObservable node, ODOMChangeEvent event) {
                tabElementChanged(event, rowTabDetails);
            }
        };
        element.addChangeListener(changeListener);

        // Create the row specific selection filter.
        RowODOMSelectionFilter selectionFilter = new RowODOMSelectionFilter();

        ArrayList sectionDetailsComposites = new ArrayList();
View Full Code Here

    private void initializeColumnTabDetails(ODOMEditorContext odomEditorContext,
                                           IProject project,
                                           TabFolder tabFolder) {

        LayoutProxyElementDetails layoutDetails = new LayoutProxyElementDetails();
        ProxyElement element = new ProxyElement(layoutDetails,
                odomEditorContext.getODOMFactory());

        ODOMChangeListener changeListener = new ODOMChangeListener() {
            public void changed(ODOMObservable node, ODOMChangeEvent event) {
                tabElementChanged(event, columnTabDetails);
            }
        };
        element.addChangeListener(changeListener);

        // Create the column specific selection filter.
        ColumnODOMSelectionFilter selectionFilter =
                new ColumnODOMSelectionFilter();
View Full Code Here

         */
        private void updateODOMAttributes(PropertyChangeEvent changeEvent) {
            String name = changeEvent.getProperty();
            Object newValue = changeEvent.getNewValue();
            if (newValue != null) {
                ProxyElement odomElement = getOdomElement();
                ODOMChangeListener odomChangeListener = getOdomChangeListener();

                odomElement.removeChangeListener(odomChangeListener);
                odomElement.setAttribute(name, newValue.toString());
                odomElement.addChangeListener(odomChangeListener);
            }
        }
View Full Code Here

    private void createAttributesTab(TabFolder tabFolder, String label) {
        // Create a tab tabItem.
        TabItem tabItem = new TabItem(tabFolder, SWT.NONE);
        tabItem.setText(label);

        final ProxyElement element = new ProxyElement(new LayoutProxyElementDetails(),
                new ODOMFactory());

        final ODOMSelectionFilter filter = new ODOMSelectionFilter(null,
                new String[] {
                    "rootElementName",
View Full Code Here

TOP

Related Classes of com.volantis.mcs.eclipse.ab.editors.dom.ProxyElement

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.