/**
* Creates the CRS PreferencePage root control with no CRS selected
*
* @param parent
* PreferencePage for this chooser
* @return control for the PreferencePage
*/
public Control createControl(final Composite parent) {
GridData gridData = null;
gridData = new GridData(SWT.FILL, SWT.FILL, true, true);
folder = new TabFolder(parent, SWT.NONE);
folder.setLayoutData(gridData);
final TabItem standard = new TabItem(folder, SWT.NONE);
standard.setText("Standard CRS");
final Control stdCRS = createStandardCRSControl(folder);
standard.setControl(stdCRS);
final TabItem custom = new TabItem(folder, SWT.NONE);
custom.setText("Custom CRS");
final Control cstCRS = createCustomCRSControl(folder);
custom.setControl(cstCRS);
return folder;
}
CRSChooser.java 文件源码
java
阅读 26
收藏 0
点赞 0
评论 0
项目:gama
作者:
评论列表
文章目录