LatticeTabUI.java 文件源码

java
阅读 42 收藏 0 点赞 0 评论 0

项目:mipa 作者:
private LatticeTabUI(TabFolder tabFolderMIPA) 
{
    TabItem tabItemLattice = new TabItem(tabFolderMIPA, SWT.NONE);
    tabItemLattice.setToolTipText("representation of lattice");
    tabItemLattice.setText("Lattice");

    SashForm sashLattice = new SashForm(tabFolderMIPA, SWT.NONE);
    tabItemLattice.setControl(sashLattice);

    StyledText styledTextLattice = new StyledText(sashLattice, SWT.BORDER
            | SWT.READ_ONLY);
    styledTextLattice.setText("Information for lattice are given here \n.");
    styledTextLattice.setToolTipText("Information for lattice.");

    Group grpLatticeTree = new Group(sashLattice, SWT.NONE);
    grpLatticeTree.setToolTipText("tree view of lattice");
    grpLatticeTree.setText("Lattice Tree View");

    latticeTreeViewer = new TreeViewer(grpLatticeTree, SWT.BORDER);
    Tree latticeTree = latticeTreeViewer.getTree();
    latticeTree.setBounds(10, 29, 444, 526);
    //latticeTreeViewer.setLabelProvider(new LatticeTreeLabelProvider());
    //latticeTreeViewer.setContentProvider(new LatticeTreeContentProvider());
    sashLattice.setWeights(new int[] { 1, 1 });
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号