Package com.nexirius.framework.datacontroller

Examples of com.nexirius.framework.datacontroller.PopupController


                array.setMemberFieldNames(maxLineModel.getFullFieldName());

                importModel.setMaxAttributes(maxAttributes);

                PopupController popupController = new MyPopupController(importModel, ViewerFactory.getInstance());

                try {
                    popupController.setClientModel(importModel, false, null, null, null);

                    popupController.popup(false);
                } catch (Exception e) {
                    e.printStackTrace()//TODO
                }
            }
        }
View Full Code Here


     * @param duplicateModel duplicate model (show ok and cancel button if true else only close button)
     * @param commands       use dataModel.getMethods() or null (no buttons are visible on the lefthand bottom side)
     * @return true if ok was pressed on the dialog window
     */
    public boolean popupEdit(DataModel dataModel, ViewerCreator creator, LayoutItem layout, boolean duplicateModel, DataModelCommandVector commands) {
        PopupController controller = new PopupController(getFactory());

        try {
            controller.setClientModel(dataModel, duplicateModel, commands, creator, (DefaultLayoutItem) layout);
        } catch (Exception e) {
            e.printStackTrace();
        }

        return controller.popup(duplicateModel);
    }
View Full Code Here

TOP

Related Classes of com.nexirius.framework.datacontroller.PopupController

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.