Package org.apache.cayenne.modeler.event

Examples of org.apache.cayenne.modeler.event.DataMapDisplayEvent


            if (mediator.getCurrentDataMap() != null) {
                mediator.fireDataMapEvent(new DataMapEvent(
                        Application.getFrame(),
                        dataMap,
                        MapEvent.CHANGE));
                mediator.fireDataMapDisplayEvent(new DataMapDisplayEvent(Application
                        .getFrame(), dataMap, (DataChannelDescriptor) mediator
                        .getProject()
                        .getRootNode(), mediator.getCurrentDataNode()));
            }
            else {
View Full Code Here


                    this,
                    (DataChannelDescriptor) obj));
        }
        else if (obj instanceof DataMap) {
            if (data.length == 2) {
                mediator.fireDataMapDisplayEvent(new DataMapDisplayEvent(
                        this,
                        (DataMap) obj,
                        (DataChannelDescriptor) mediator.getProject().getRootNode(),
                        (DataNodeDescriptor) data[data.length - 2]));
            }
            else if (data.length == 1) {
                mediator.fireDataMapDisplayEvent(new DataMapDisplayEvent(
                        this,
                        (DataMap) obj,
                        (DataChannelDescriptor) mediator.getProject().getRootNode()));
            }
        }
View Full Code Here

                .getProject()
                .getRootNode();
    }

    public void displayField(ProjectController mediator, JFrame frame) {
        DataMapDisplayEvent event;
        event = new DataMapDisplayEvent(frame, map, domain);
        mediator.fireDataMapDisplayEvent(event);
    }
View Full Code Here

TOP

Related Classes of org.apache.cayenne.modeler.event.DataMapDisplayEvent

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.