Package de.FeatureModellingTool.InfoExplorer2

Examples of de.FeatureModellingTool.InfoExplorer2.InfoExplorer2Implementation$ConstraintModelPropertyChangeListener


            Object node = tp.getLastPathComponent();

            if ((node == null) || (!(node instanceof FeatureNode)))return;

            FeatureNode featureNode = (FeatureNode)node;
           
            if (featureNode.getNodeType() != FeatureNode.NODE_TYPE_NORMAL)
          return;
           
            String featureId = featureNode.getFeature().getID();
            if (featureId == null)
          return;
            if (elementLocator != null){
          if (e.getClickCount() == 1)
              elementLocator.locateInCurrentView(featureId);
View Full Code Here


            Object node = tp.getLastPathComponent();

            if ((node == null) || (!(node instanceof FeatureNode)))return;

            FeatureNode featureNode = (FeatureNode)node;
           
            if (featureNode.getNodeType() != FeatureNode.NODE_TYPE_NORMAL)
          return;
           
            String featureId = featureNode.getFeature().getID();
            if (featureId == null)
          return;
            if (elementLocator != null){
                elementLocator.locateInCurrentView(featureId);
            }           
View Full Code Here

        //scrollinfoExplorerUI.setMaximumSize(scrollinfoExplorerUI.getPreferredSize());
        layout.addWindow(scrollInfoExplorerUI,  "��Ϣ���", icon, ConstantDefinition.Position.LEF, true);
       
        //--��treetable�ķ�ʽ���������
        //--����ʵ����
        InfoExplorer2Implementation ie2 = new InfoExplorer2Implementation();
        //--�������װ����װ��������Ľӿ�
        ie2.getContext().putValue(de.FeatureModellingTool.ElementInfoEditor.ConstantDefinition.FEATURE_MODEL, featureModel);
        ie2.getContext().putValue(de.FeatureModellingTool.ElementInfoEditor.ConstantDefinition.CONSTRAINT_MODEL, constraintModel);
        ///---ע��Ԫ�ض�λ
        elementLocating.getContext().putValue(de.FeatureModellingTool.ElementLocating.ConstantDefinition.INFO_EXPLORER2, ie2);
        //--UI����װ��������UI���ɵ����������
        JScrollPane scrollInfoExplorer2UI = new JScrollPane(ie2.getExplorerComponent());
        scrollInfoExplorer2UI.setBorder(BorderFactory.createEmptyBorder());
        scrollInfoExplorer2UI.getViewport().setBackground(Color.white);
        layout.addWindow(scrollInfoExplorer2UI, "feature tree", icon, ConstantDefinition.Position.LEF, false);

        /**
 
View Full Code Here

        layout.addWindow(scrollInfoExplorerUI, "��Ϣ���", icon,
                ConstantDefinition.Position.LEF, true);
       
        // --��treetable�ķ�ʽ���������
        // --����ʵ����
        InfoExplorer2Implementation ie2 = new InfoExplorer2Implementation();
        // --�������װ����װ��������Ľӿ�
        ie2
                .getContext()
                .putValue(
                de.FeatureModellingTool.ElementInfoEditor.ConstantDefinition.FEATURE_MODEL,
                featureModel);
        ie2
                .getContext()
                .putValue(
                de.FeatureModellingTool.ElementInfoEditor.ConstantDefinition.CONSTRAINT_MODEL,
                constraintModel);
        // /---ע��Ԫ�ض�λ
        elementLocating
                .getContext()
                .putValue(
                de.FeatureModellingTool.ElementLocating.ConstantDefinition.INFO_EXPLORER2,
                ie2);
        // --UI����װ��������UI���ɵ����������
        JScrollPane scrollInfoExplorer2UI = new JScrollPane(ie2
                .getExplorerComponent());
        scrollInfoExplorer2UI.setBorder(BorderFactory.createEmptyBorder());
        scrollInfoExplorer2UI.getViewport().setBackground(Color.white);
        layout.addWindow(scrollInfoExplorer2UI, "feature tree", icon,
                ConstantDefinition.Position.LEF, false);
View Full Code Here

    layout.addWindow(scrollInfoExplorerUI, "��Ϣ���", icon,
        ConstantDefinition.Position.LEF, true);

    // --��treetable�ķ�ʽ���������
    // --����ʵ����
    InfoExplorer2Implementation ie2 = new InfoExplorer2Implementation();
    // --�������װ����װ��������Ľӿ�
    ie2
        .getContext()
        .putValue(
            de.FeatureModellingTool.ElementInfoEditor.ConstantDefinition.FEATURE_MODEL,
            featureModel);
    ie2
        .getContext()
        .putValue(
            de.FeatureModellingTool.ElementInfoEditor.ConstantDefinition.CONSTRAINT_MODEL,
            constraintModel);
    // /---ע��Ԫ�ض�λ
    elementLocating
        .getContext()
        .putValue(
            de.FeatureModellingTool.ElementLocating.ConstantDefinition.INFO_EXPLORER2,
            ie2);
    // --UI����װ��������UI���ɵ����������
    JScrollPane scrollInfoExplorer2UI = new JScrollPane(ie2
        .getExplorerComponent());
    scrollInfoExplorer2UI.setBorder(BorderFactory.createEmptyBorder());
    scrollInfoExplorer2UI.getViewport().setBackground(Color.white);
    layout.addWindow(scrollInfoExplorer2UI, "feature tree", icon,
        ConstantDefinition.Position.LEF, false);
View Full Code Here

        //scrollinfoExplorerUI.setMaximumSize(scrollinfoExplorerUI.getPreferredSize());
        layout.addWindow(scrollInfoExplorerUI,  "��Ϣ���", icon, ConstantDefinition.Position.LEF, true);

        //--��treetable�ķ�ʽ���������
        //--����ʵ����
        InfoExplorer2Implementation ie2 = new InfoExplorer2Implementation();
        //--�������װ����װ��������Ľӿ�
        ie2.getContext().putValue(de.FeatureModellingTool.ElementInfoEditor.ConstantDefinition.FEATURE_MODEL, featureModel);
        ie2.getContext().putValue(de.FeatureModellingTool.ElementInfoEditor.ConstantDefinition.CONSTRAINT_MODEL, constraintModel);
        ///---ע��Ԫ�ض�λ
        elementLocating.getContext().putValue(de.FeatureModellingTool.ElementLocating.ConstantDefinition.INFO_EXPLORER2, ie2);
        //--UI����װ��������UI���ɵ����������
        JScrollPane scrollInfoExplorer2UI = new JScrollPane(ie2.getExplorerComponent());
        scrollInfoExplorer2UI.setBorder(BorderFactory.createEmptyBorder());
        scrollInfoExplorer2UI.getViewport().setBackground(Color.white);
        layout.addWindow(scrollInfoExplorer2UI, "feature tree", icon, ConstantDefinition.Position.LEF, false);

        //gh start
View Full Code Here

TOP

Related Classes of de.FeatureModellingTool.InfoExplorer2.InfoExplorer2Implementation$ConstraintModelPropertyChangeListener

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.