use of org.eclipse.swt.widgets.TabItem in project cubrid-manager by CUBRID.
the class BrokersParameterPropertyPage method createContents.
/**
* Creates the page content
*
* @param parent the parent composite
* @return the composite
*/
protected Control createContents(Composite parent) {
Composite composite = new Composite(parent, SWT.NONE);
GridLayout layout = new GridLayout();
composite.setLayout(layout);
composite.setLayoutData(new GridData(GridData.FILL_BOTH));
TabFolder tabFolder = new TabFolder(composite, SWT.NONE);
tabFolder.setLayoutData(new GridData(GridData.FILL_BOTH));
layout = new GridLayout();
tabFolder.setLayout(layout);
TabItem item = new TabItem(tabFolder, SWT.NONE);
item.setText(BROKERLSTOFTAP);
item.setControl(createBrokerLstComp(tabFolder));
item = new TabItem(tabFolder, SWT.NONE);
item.setText(REFRESHENVOFTAP);
item.setControl(createRefreshComp(tabFolder));
initial();
setAuthority();
masterShmIdTxt.addModifyListener(new MasterShmIdModifyListener());
masterShmIdTxt.addVerifyListener(new NumberVerifyListener());
return composite;
}
Aggregations