Examples of addDataMap()


Examples of org.apache.cayenne.modeler.ProjectController.addDataMap()

        DataMap map =
            (DataMap) NamedObjectFactory.createObject(
                DataMap.class,
                currentDomain,
                currentDomain.getName() + "Map");
        mediator.addDataMap(this, map);
    }

    public void performAction(ActionEvent e) {
        createDataMap();
    }
View Full Code Here

Examples of org.apache.cayenne.modeler.ProjectController.addDataMap()

            map.setName(NamedObjectFactory.createName(DataMap.class, domain, map
                    .getName()));

            // side effect of this operation is that if a node was created, this DataMap
            // will be linked with it...
            mediator.addDataMap(Application.getFrame(), map);
        }
    }

    /**
     * Returns EOModel chooser.
View Full Code Here

Examples of org.apache.cayenne.modeler.ProjectController.addDataMap()

    }

    /** Calls addDataMap() or creates new data map if no data node selected. */
    public void createDataMap(DataMap map) {
        ProjectController mediator = getProjectController();
        mediator.addDataMap(this, map);
    }

    public void performAction(ActionEvent e) {
        ProjectController mediator = getProjectController();

View Full Code Here

Examples of org.apache.cayenne.modeler.ProjectController.addDataMap()

            map.setName(NamedObjectFactory.createName(DataMap.class, domain, map
                    .getName()));

            // side effect of this operation is that if a node was created, this DataMap
            // will be linked with it...
            mediator.addDataMap(Application.getFrame(), map);
        }
    }

    /**
     * Returns EOModel chooser.
View Full Code Here

Examples of org.apache.cayenne.modeler.ProjectController.addDataMap()

                                .getTargetEntityName()));
                    }
                }
            }

            mediator.addDataMap(this, dataMap);
        }
        else if (where instanceof DataMap) {
            // paste DbEntity to DataMap
            final DataMap dataMap = ((DataMap) where);
View Full Code Here

Examples of org.apache.cayenne.modeler.ProjectController.addDataMap()

            map.setName(NamedObjectFactory.createName(DataMap.class, domain, map
                    .getName()));

            // side effect of this operation is that if a node was created, this DataMap
            // will be linked with it...
            mediator.addDataMap(Application.getFrame(), map);
        }
    }

    /**
     * Returns EOModel chooser.
View Full Code Here

Examples of org.apache.cayenne.modeler.ProjectController.addDataMap()

                                .getTargetEntityName()));
                    }
                }
            }

            mediator.addDataMap(this, dataMap);
        }
        else if (where instanceof DataMap) {
            // paste DbEntity to DataMap
            final DataMap dataMap = ((DataMap) where);
View Full Code Here

Examples of org.apache.cayenne.modeler.ProjectController.addDataMap()

    }

    /** Calls addDataMap() or creates new data map if no data node selected. */
    public void createDataMap(DataDomain domain, DataMap map) {
        ProjectController mediator = getProjectController();
        mediator.addDataMap(this, map);
    }

    public void performAction(ActionEvent e) {
        ProjectController mediator = getProjectController();
        DataDomain currentDomain = mediator.getCurrentDataDomain();
View Full Code Here

Examples of org.apache.cayenne.modeler.ProjectController.addDataMap()

                                .getTargetEntityName()));
                    }
                }
            }

            mediator.addDataMap(this, dataMap);
        }
        else if (where instanceof DataMap) {
            // paste DbEntity to DataMap
            final DataMap dataMap = ((DataMap) where);
View Full Code Here

Examples of org.apache.cayenne.modeler.ProjectController.addDataMap()

            map.setName(NamedObjectFactory.createName(DataMap.class, domain, map
                    .getName()));

            // side effect of this operation is that if a node was created, this DataMap
            // will be linked with it...
            mediator.addDataMap(Application.getFrame(), map);
        }
    }

    /**
     * Returns EOModel chooser.
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.