Package org.jahia.ajax.gwt.client.widget.edit.mainarea

Examples of org.jahia.ajax.gwt.client.widget.edit.mainarea.Module


    public void onComponentSelection() {
        if (useEngine) {
            String nodeTypes = this.nodeTypes;
            if (linker instanceof EditLinker) {
                Module m = ((EditLinker) linker).getSelectedModule();
                if (m == null) {
                    m = ((EditLinker) linker).getMainModule();
                }
                if (m instanceof ListModule) {
                    nodeTypes = m.getNodeTypes();
                } else if (m instanceof AreaModule) {
                    nodeTypes = m.getNodeTypes();
                }
            }

            if (nodeTypes.length() > 0) {
                ContentActions.showContentWizard(linker, nodeTypes, includeSubTypes);
View Full Code Here


                && !lh.isLocked()
                && PermissionsUtils.isPermitted("jcr:addChildNodes", lh.getSelectionPermissions())
                && lh.isPasteAllowed();
        String refTypes = null;
        if (linker instanceof EditLinker && b) {
            final Module module = ((EditLinker) linker).getSelectedModule();
            refTypes = module.getReferenceTypes();
        } else if (lh.getSingleSelection() != null) {
            refTypes = lh.getSingleSelection().get("referenceTypes");
        }
        if (refTypes != null && refTypes.length() > 0) {
            String[] refs = refTypes.split(" ");
View Full Code Here

TOP

Related Classes of org.jahia.ajax.gwt.client.widget.edit.mainarea.Module

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.