/** This method initializes cTabFolder. */ private void createCTabFolder() { GridData gridData = new GridData(); gridData.horizontalAlignment = GridData.FILL; gridData.grabExcessHorizontalSpace = true; gridData.grabExcessVerticalSpace = true; gridData.horizontalSpan = 14; gridData.verticalAlignment = GridData.FILL; cTabFolder = new CTabFolder(hyperLinkShell, SWT.NONE); cTabFolder.setBackground(Display.getCurrent().getSystemColor(SWT.COLOR_WHITE)); cTabFolder.setLayoutData(gridData); }
/** This method initializes cTabFolder. */ protected void createCTabFolder() { GridData gridData = new GridData(); gridData.horizontalAlignment = GridData.FILL; gridData.grabExcessHorizontalSpace = true; gridData.grabExcessVerticalSpace = true; gridData.horizontalSpan = 5; gridData.verticalAlignment = GridData.FILL; cTabFolder = new CTabFolder(lookforShell, SWT.NONE); cTabFolder.setBackground(Display.getCurrent().getSystemColor(SWT.COLOR_WHITE)); cTabFolder.setLayoutData(gridData); createDiagramListcomposite(); createTreeViewcomposite(); CTabItem cTabItem = new CTabItem(cTabFolder, SWT.None); cTabItem.setControl(diagramListcomposite); cTabItem.setText( Messages.AbstractLookForEditorShell_EditorsList); // TODO change this name into Editor List CTabItem cTabItem1 = new CTabItem(cTabFolder, SWT.None); cTabItem1.setText(Messages.AbstractLookForEditorShell_TreeView); cTabItem1.setControl(treeViewcomposite); }