Package cn.edu.pku.sei.dockingui.model

Examples of cn.edu.pku.sei.dockingui.model.DockingUILayout.addWindow()


        PatternGraphicalEditor pge = new PatternGraphicalEditor(this , pb);

        graphicalEditor.getContext().putValue(de.FeatureModellingTool.Pattern.ConstantDefinition.PATTERN_BASE , pb);
        graphicalEditor.getContext().putValue("CONTAINER" , this);

        layout.addWindow(pge.getEditorArea() , "ģ��༭��" , icon , ConstantDefinition.Position.CEN, false);

//        ((GraphicalEditorImplementation)graphicalEditor).pge = pge;
//        popupMenu.add(((GraphicalEditorImplementation)graphicalEditor).getPasteFeatureTreeAction());
        popupMenu.add(((GraphicalEditorImplementation)graphicalEditor).getUsePatternAction_Base());
View Full Code Here


        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
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.