Examples of GroupMap


Examples of de.reuse.GroupMap

                return;
            }
            String domainName = projectReader.getDomainName();
            String[] viewNameArray = projectReader.getViewNameArray();
            Drawing[] drawingArray = projectReader.getDrawingArray();
            GroupMap informationMap = projectReader.getInformationMap();
            FComponent featureModel = projectReader.getFeatureModel();

            ProjectImplementation pi = new ProjectImplementation();
            pi.setProjectId(modelID);
            pi.setProjectName(model.getName());
View Full Code Here

Examples of de.reuse.GroupMap

            }

            String domainName = projectReader.getDomainName();
            String[] viewNameArray = projectReader.getViewNameArray();
            Drawing[] drawingArray = projectReader.getDrawingArray();
            GroupMap informationMap = projectReader.getInformationMap();
            FComponent featureModel = projectReader.getFeatureModel();

            ProjectImplementation pi = new ProjectImplementation();

            String projectName = selectedFile.getName();
View Full Code Here

Examples of de.reuse.GroupMap

    public GroupMap getView_IDMap(){
        if (drawingViewContainer == null) return null;

        DrawingView[] views = drawingViewContainer.getAllDrawingViews();

        GroupMap rst = new GroupTreeMap();

        for (int i = 0; i < views.length; i++){
            DrawingView view = views[i];

            FigureEnumeration fe = view.getDrawing().getFigures();

            while (fe.hasMoreElements()){
                Figure fig = fe.nextFigure();
                String id  = (String) fig.getAttribute("id");

                if ((id != null) && (!id.equals(""))){
                    rst.add(view.getDrawing().getTitle(), id);
                }
            }
        }

        return rst;
View Full Code Here

Examples of de.reuse.GroupMap

                //end д����Ŀ��ͼ�ļ�

                bufferStream.reset();

                //begin д��������Ϣ
                GroupMap informationMap = (GroupMap) ProjectManagerImplementation.this.getContext().getValue(de.FeatureModellingTool.ProjectManager.ConstantDefinition.INFOMATION_MAP);

                Iterator iterator = informationMap.keySet().iterator();
                while (iterator.hasNext()) {
                    String id = (String) iterator.next();
                    Set set = informationMap.get(id);

                    if (set != null) {
                        Iterator valueIterator = set.iterator();
                        while (valueIterator.hasNext()) {
                            Drawing drawing = (Drawing) valueIterator.next();
View Full Code Here

Examples of org.glassfish.connectors.config.GroupMap

                principalMap.setMappedPrincipal((String) e.getValue());
                workSecurityMap.getPrincipalMap().add(principalMap);
            }
        } else if (groupsMap != null) {
            for (Map.Entry e : groupsMap.entrySet()) {
                GroupMap groupMap = workSecurityMap.createChild(GroupMap.class);
                groupMap.setEisGroup((String) e.getKey());
                groupMap.setMappedGroup((String) e.getValue());
                workSecurityMap.getGroupMap().add(groupMap);
            }
        }
        return workSecurityMap;
    }
View Full Code Here

Examples of org.glassfish.connectors.config.GroupMap

        try {
            ConfigSupport.apply(new SingleConfigCode<WorkSecurityMap>() {
                public Object run(WorkSecurityMap wsm) throws PropertyVetoException, TransactionFailure {
                    if (addGroups != null) {
                        for (Map.Entry e : addGroups.entrySet()) {
                            GroupMap gm = wsm.createChild(GroupMap.class);
                            gm.setEisGroup((String) e.getKey());
                            gm.setMappedGroup((String) e.getValue());
                            wsm.getGroupMap().add(gm);
                        }
                    } else if (addPrincipals != null) {
                        for (Map.Entry e : addPrincipals.entrySet()) {
                            PrincipalMap pm = wsm.createChild(PrincipalMap.class);
                            pm.setEisPrincipal((String) e.getKey());
                            pm.setMappedPrincipal((String) e.getValue());
                            wsm.getPrincipalMap().add(pm);
                        }
                    }
                    if (removeGroups != null) {
                        for (String rg : removeGroups) {
                            for (GroupMap gm : existingUserGroups) {
                                if (gm.getEisGroup().equals(rg)) {
                                    wsm.getGroupMap().remove(gm);
                                }
                            }
                        }
                    } else if (removePrincipals != null) {
View Full Code Here

Examples of org.glassfish.connectors.config.GroupMap

                            principalMap.setMappedPrincipal((String)e.getValue());
                            workSecurityMap.getPrincipalMap().add(principalMap);
                        }
                    } else if (groupsMap != null) {
                        for (Map.Entry e : groupsMap.entrySet()) {
                            GroupMap groupMap = workSecurityMap.createChild(GroupMap.class);
                            groupMap.setEisGroup((String)e.getKey());
                            groupMap.setMappedGroup((String)e.getValue());
                            workSecurityMap.getGroupMap().add(groupMap);
                        }
                    } else {
                        // no mapping
                    }
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.