Package de.FeatureModellingTool.Customize.ui

Examples of de.FeatureModellingTool.Customize.ui.CustomizationExplorerImplementation$CutFeatureAction


        scrollInfoExplorer2UI.getViewport().setBackground(Color.white);
        layout.addWindow(scrollInfoExplorer2UI, "feature tree", icon,
                ConstantDefinition.Position.LEF, false);
       
        // gh start
        CustomizationExplorerImplementation cei = new CustomizationExplorerImplementation();
        // --�������װ����װ��������Ľӿ�
        cei
                .getContext()
                .putValue(
                de.FeatureModellingTool.Customize.ConstantDefinition.CUSTOMIZATION_MODEL,
                customizationModel);
        cei.getContext().putValue(
                de.FeatureModellingTool.Customize.ConstantDefinition.CONTAINER,
                this);
        cei.getContext().putValue("fm", featureModel);
        cei.getContext().putValue("fe", featureEditor);
        cei.getContext().putValue("fme", featureModelEditor);
        cei.getContext().putValue("cm", constraintModel);
        cei.getContext().putValue("cme", constraintModelEditor);
        cei.getContext().putValue("cce", plConstraintEditor);
        cei.getContext().putValue("gce", gConstraintEditor);
        cei.getContext().putValue("dvs",
                this.drawingViewContainer.getAllDrawingViews());
        // --UI����װ��������UI���ɵ����������
        JScrollPane ceiUI = new JScrollPane(cei.getExplorerComponent());
        ceiUI.setBorder(BorderFactory.createEmptyBorder());
//    layout.addWindow(ceiUI, "ģ�Ͷ���", icon, ConstantDefinition.Position.LEF,false);
       
       
        // cei.getConstraintExplorer().getContext().putValue(de.FeatureModellingTool.Customize.ConstantDefinition.FEATURE_MODEL
        // , featureModel);
        // cei.getConstraintExplorer().getContext().putValue(de.FeatureModellingTool.Customize.ConstantDefinition.CONSTRAINT_MODEL
        // , constraintModel);
        ceiUI = new JScrollPane(cei.getConstraintExplorer(featureModel,
                constraintModel).getExplorerComponent());
        ceiUI.setBorder(BorderFactory.createEmptyBorder());
//    layout.addWindow(ceiUI, "Լ�������", icon, ConstantDefinition.Position.CEN,false);
        // layout.addWindow(ceiUI, "customization", icon,
        // ConstantDefinition.Position.LEF, true);
View Full Code Here


    scrollInfoExplorer2UI.getViewport().setBackground(Color.white);
    layout.addWindow(scrollInfoExplorer2UI, "feature tree", icon,
        ConstantDefinition.Position.LEF, false);

    // gh start
    CustomizationExplorerImplementation cei = new CustomizationExplorerImplementation();
    // --�������װ����װ��������Ľӿ�
    cei
        .getContext()
        .putValue(
            de.FeatureModellingTool.Customize.ConstantDefinition.CUSTOMIZATION_MODEL,
            customizationModel);
    cei.getContext().putValue(
        de.FeatureModellingTool.Customize.ConstantDefinition.CONTAINER,
        this);
    cei.getContext().putValue("fm", featureModel);
    cei.getContext().putValue("fe", featureEditor);
    cei.getContext().putValue("fme", featureModelEditor);
    cei.getContext().putValue("cm", constraintModel);
    cei.getContext().putValue("cme", constraintModelEditor);
    cei.getContext().putValue("cce", plConstraintEditor);
    cei.getContext().putValue("gce", gConstraintEditor);
    cei.getContext().putValue("dvs",
        this.drawingViewContainer.getAllDrawingViews());
    // --UI����װ��������UI���ɵ����������
    JScrollPane ceiUI = new JScrollPane(cei.getExplorerComponent());
    ceiUI.setBorder(BorderFactory.createEmptyBorder());
    layout.addWindow(ceiUI, "ģ�Ͷ���", icon, ConstantDefinition.Position.LEF,
        false);

    // cei.getConstraintExplorer().getContext().putValue(de.FeatureModellingTool.Customize.ConstantDefinition.FEATURE_MODEL
    // , featureModel);
    // cei.getConstraintExplorer().getContext().putValue(de.FeatureModellingTool.Customize.ConstantDefinition.CONSTRAINT_MODEL
    // , constraintModel);
    ceiUI = new JScrollPane(cei.getConstraintExplorer(featureModel,
        constraintModel).getExplorerComponent());
    ceiUI.setBorder(BorderFactory.createEmptyBorder());
    layout.addWindow(ceiUI, "Լ�������", icon, ConstantDefinition.Position.CEN,
        false);
    // layout.addWindow(ceiUI, "customization", icon,
View Full Code Here

        scrollInfoExplorer2UI.setBorder(BorderFactory.createEmptyBorder());
        scrollInfoExplorer2UI.getViewport().setBackground(Color.white);
        layout.addWindow(scrollInfoExplorer2UI, "feature tree", icon, ConstantDefinition.Position.LEF, false);

        //gh start
        CustomizationExplorerImplementation cei = new CustomizationExplorerImplementation();
        //--�������װ����װ��������Ľӿ�
        cei.getContext().putValue(de.FeatureModellingTool.Customize.ConstantDefinition.CUSTOMIZATION_MODEL , customizationModel);
        cei.getContext().putValue(de.FeatureModellingTool.Customize.ConstantDefinition.CONTAINER , this);
        cei.getContext().putValue("fm" , featureModel);
        cei.getContext().putValue("fe" , featureEditor);
        cei.getContext().putValue("fme" , featureModelEditor);
        cei.getContext().putValue("cm" , constraintModel);
        cei.getContext().putValue("cme" , constraintModelEditor);
        cei.getContext().putValue("cce" , plConstraintEditor);
        cei.getContext().putValue("gce" , gConstraintEditor);
        cei.getContext().putValue("dvs" , this.drawingViewContainer.getAllDrawingViews());
        //--UI����װ��������UI���ɵ����������
        JScrollPane ceiUI = new JScrollPane(cei.getExplorerComponent());
        ceiUI.setBorder(BorderFactory.createEmptyBorder());
        layout.addWindow(ceiUI, "ģ�Ͷ���", icon, ConstantDefinition.Position.LEF, false);

//        cei.getConstraintExplorer().getContext().putValue(de.FeatureModellingTool.Customize.ConstantDefinition.FEATURE_MODEL , featureModel);
//        cei.getConstraintExplorer().getContext().putValue(de.FeatureModellingTool.Customize.ConstantDefinition.CONSTRAINT_MODEL , constraintModel);
        ceiUI = new JScrollPane(cei.getConstraintExplorer(featureModel , constraintModel).getExplorerComponent());
        ceiUI.setBorder(BorderFactory.createEmptyBorder());
        layout.addWindow(ceiUI , "Լ�������", icon, ConstantDefinition.Position.CEN, false);
//        layout.addWindow(ceiUI, "customization", icon, ConstantDefinition.Position.LEF, true);

        ModelGenerateAction mga = new ModelGenerateAction(featureModel , featureModelEditor , featureEditor , constraintModel , constraintModelEditor , gConstraintEditor , plConstraintEditor);
View Full Code Here

TOP

Related Classes of de.FeatureModellingTool.Customize.ui.CustomizationExplorerImplementation$CutFeatureAction

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.