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);