Package de.FeatureModellingTool.Pattern.UI

Examples of de.FeatureModellingTool.Pattern.UI.PatternExplorerImplementation


        // ((GraphicalEditorImplementation)graphicalEditor).pge = pge;
        // popupMenu.add(((GraphicalEditorImplementation)graphicalEditor).getPasteFeatureTreeAction());
        popupMenu.add(((GraphicalEditorImplementation) graphicalEditor)
        .getUsePatternAction_Base());
       
        PatternExplorerImplementation pei = new PatternExplorerImplementation();
        // --�������װ����װ��������Ľӿ�
        pei
                .getContext()
                .putValue(
                de.FeatureModellingTool.Pattern.ConstantDefinition.PATTERN_BASE,
                pb);
        // --UI����װ��������UI���ɵ����������
        JScrollPane peiUI = new JScrollPane(pei.getExplorerComponent());
        peiUI.setBorder(BorderFactory.createEmptyBorder());
        peiUI.getViewport().setBackground(Color.white);
//    layout.addWindow(peiUI, "Pattern", icon,ConstantDefinition.Position.LEF, false);
       
        pei
                .addPropertyChangeListener(
                de.FeatureModellingTool.Pattern.ConstantDefinition.CURRENT_TEMPLATE,
                pge.getCurrentTemplateChangeListener());
       
        // gh pattern end
View Full Code Here


    // ((GraphicalEditorImplementation)graphicalEditor).pge = pge;
    // popupMenu.add(((GraphicalEditorImplementation)graphicalEditor).getPasteFeatureTreeAction());
    popupMenu.add(((GraphicalEditorImplementation) graphicalEditor)
        .getUsePatternAction_Base());

    PatternExplorerImplementation pei = new PatternExplorerImplementation();
    // --�������װ����װ��������Ľӿ�
    pei
        .getContext()
        .putValue(
            de.FeatureModellingTool.Pattern.ConstantDefinition.PATTERN_BASE,
            pb);
    // --UI����װ��������UI���ɵ����������
    JScrollPane peiUI = new JScrollPane(pei.getExplorerComponent());
    peiUI.setBorder(BorderFactory.createEmptyBorder());
    peiUI.getViewport().setBackground(Color.white);
    layout.addWindow(peiUI, "Pattern", icon,
        ConstantDefinition.Position.LEF, false);

    pei
        .addPropertyChangeListener(
            de.FeatureModellingTool.Pattern.ConstantDefinition.CURRENT_TEMPLATE,
            pge.getCurrentTemplateChangeListener());

    // gh pattern end
View Full Code Here

//        popupMenu.add(featureInfoEditor.getEntryAction());
//        popupMenu.add(deleteAction);
//        popupMenu.add(pge.getCloneFeatureTreeAction());
//

        PatternExplorerImplementation pei = new PatternExplorerImplementation();
        //--�������װ����װ��������Ľӿ�
        pei.getContext().putValue(de.FeatureModellingTool.Pattern.ConstantDefinition.PATTERN_BASE , pb);
        //--UI����װ��������UI���ɵ����������
        JScrollPane peiUI = new JScrollPane(pei.getExplorerComponent());
        peiUI.setBorder(BorderFactory.createEmptyBorder());
        peiUI.getViewport().setBackground(Color.white);
        layout.addWindow(peiUI, "Pattern", icon, ConstantDefinition.Position.LEF, false);

        pei.addPropertyChangeListener(de.FeatureModellingTool.Pattern.ConstantDefinition.CURRENT_TEMPLATE , pge.getCurrentTemplateChangeListener());


        //gh pattern end

    }
View Full Code Here

TOP

Related Classes of de.FeatureModellingTool.Pattern.UI.PatternExplorerImplementation

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.