Package de.reuse

Examples of de.reuse.GroupTreeMap


                                projectInfoPane.getDescription(),
                                projectInfoPane.getProjectFile());

                        de.grapheditor.ProjectManager.Interface newProjectManager = de.grapheditor.ProjectManager.Factory.createProjectManager();
                        newProjectManager.getContext().putValue(de.grapheditor.ProjectManager.ConstantDefinition.PROJECT, project);
                        newProjectManager.getContext().putValue(de.grapheditor.ProjectManager.ConstantDefinition.INFOMATION_MAP, new GroupTreeMap());

                        newProjectManager.getAction(ConstantDefinition.SAVE_PROJECT_ACTION).actionPerformed((ActionEvent) null);

                        this.firePropertyChange(ConstantDefinition.PROJECT_CREATED, null, newProjectManager);
                    }
View Full Code Here


                    featureModel);
            newProjectManager
                .getContext()
                .putValue(
                    de.FeatureModellingTool.ProjectManager.ConstantDefinition.INFOMATION_MAP,
                    new GroupTreeMap());

            newProjectManager
                .getAction(
                    de.FeatureModellingTool.ProjectManager.ConstantDefinition.SAVE_PROJECT_ACTION)
                .actionPerformed((ActionEvent) null);
View Full Code Here

        } else {
           drawingArray = new Drawing[0];
        }

        //begin ��ȡ������Ϣ
        informationMap = new GroupTreeMap();

        //����൱�����ݱ������������ TODO How to apply in the database environment?
//        Enumeration enumeration = zipFile.entries();
//
//        while (enumeration.hasMoreElements()) {
View Full Code Here

                                projectInfoPane.getDescription(),
                                projectInfoPane.getProjectFile());

                        de.grapheditor.ProjectManager.Interface newProjectManager = de.grapheditor.ProjectManager.Factory.createProjectManager();
                        newProjectManager.getContext().putValue(de.grapheditor.ProjectManager.ConstantDefinition.PROJECT, project);
                        newProjectManager.getContext().putValue(de.grapheditor.ProjectManager.ConstantDefinition.INFOMATION_MAP, new GroupTreeMap());

                        newProjectManager.getAction(ConstantDefinition.SAVE_PROJECT_ACTION).actionPerformed((ActionEvent) null);

                        this.firePropertyChange(ConstantDefinition.PROJECT_CREATED, null, newProjectManager);
                    }
View Full Code Here

    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

                        }

                        ProjectManager newProjectManager = de.FeatureModellingTool.ProjectManager.Manager.createProjectManager();
                        newProjectManager.getContext().putValue(de.FeatureModellingTool.ProjectManager.ConstantDefinition.PROJECT, project);
                        newProjectManager.getContext().putValue(de.FeatureModellingTool.ProjectManager.ConstantDefinition.FEATURE_MODEL, featureModel);
                        newProjectManager.getContext().putValue(de.FeatureModellingTool.ProjectManager.ConstantDefinition.INFOMATION_MAP, new GroupTreeMap());

                        newProjectManager.getAction(de.FeatureModellingTool.ProjectManager.ConstantDefinition.SAVE_PROJECT_ACTION).actionPerformed((ActionEvent) null);
                        newProjectManager.getAction(de.FeatureModellingTool.ProjectManager.ConstantDefinition.SAVE_PROJECT_TODB_ACTION).actionPerformed((ActionEvent) null);

                        this.firePropertyChange(ConstantDefinition.PROJECT_CREATED, null, newProjectManager);
View Full Code Here

    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

        } else {
           drawingArray = new Drawing[0];
        }

        //begin ��ȡ������Ϣ
        informationMap = new GroupTreeMap();

        Enumeration enumeration = zipFile.entries();

        while (enumeration.hasMoreElements()) {
            ZipEntry entry = (ZipEntry) enumeration.nextElement();
View Full Code Here

        } else {
           drawingArray = new Drawing[0];
        }

        //begin ��ȡ������Ϣ
        informationMap = new GroupTreeMap();

        //����൱�����ݱ������������ TODO How to apply in the database environment?
//        Enumeration enumeration = zipFile.entries();
//
//        while (enumeration.hasMoreElements()) {
View Full Code Here

TOP

Related Classes of de.reuse.GroupTreeMap

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.