当前位置: 首页>>代码示例>>Java>>正文


Java Group.setLayout方法代码示例

本文整理汇总了Java中org.eclipse.swt.widgets.Group.setLayout方法的典型用法代码示例。如果您正苦于以下问题:Java Group.setLayout方法的具体用法?Java Group.setLayout怎么用?Java Group.setLayout使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.eclipse.swt.widgets.Group的用法示例。


在下文中一共展示了Group.setLayout方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: createDialogArea

import org.eclipse.swt.widgets.Group; //导入方法依赖的package包/类
@Override
protected Control createDialogArea(Composite parent) {
	final Group customDialogArea = new Group(parent, SHADOW_ETCHED_IN);
	customDialogArea.setLayout(GridLayoutFactory.fillDefaults().numColumns(1).equalWidth(false).create());
	customDialogArea.setLayoutData(GridDataFactory.fillDefaults().grab(true, true).align(FILL, TOP).create());

	createNameArea(customDialogArea, PACKAGE_NAME, this::handlePackageNameInput);
	createVersionArea(customDialogArea, MINIMUM_VERSION_OPTIONAL, this::handleLowerVersionInput,
			this::setLowerExcluded);
	createVersionArea(customDialogArea, MAXIMUM_VERSION_OPTIONAL, this::handleUpperVersionInput,
			this::setUpperExcluded);

	return customDialogArea;
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:15,代码来源:InstallNpmDependencyDialog.java

示例2: createPropertiesGroup

import org.eclipse.swt.widgets.Group; //导入方法依赖的package包/类
/**
 * @generated
 */
protected Composite createPropertiesGroup(Composite parent) {
	Group propertiesGroup = new Group(parent, SWT.NONE);
	propertiesGroup.setText(AnalysisMessages.MemoryResourcePropertiesEditionPart_PropertiesGroupLabel);
	GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL);
	propertiesGroupData.horizontalSpan = 3;
	propertiesGroup.setLayoutData(propertiesGroupData);
	GridLayout propertiesGroupLayout = new GridLayout();
	propertiesGroupLayout.numColumns = 3;
	propertiesGroup.setLayout(propertiesGroupLayout);
	return propertiesGroup;
}
 
开发者ID:polarsys,项目名称:time4sys,代码行数:15,代码来源:MemoryResourcePropertiesEditionPartImpl.java

示例3: createPropertiesGroup

import org.eclipse.swt.widgets.Group; //导入方法依赖的package包/类
/**
 * 
 */
protected Composite createPropertiesGroup(Composite parent) {
	Group propertiesGroup = new Group(parent, SWT.NONE);
	propertiesGroup.setText(MetamodelMessages.QueryPropertiesEditionPart_PropertiesGroupLabel);
	GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL);
	propertiesGroupData.horizontalSpan = 3;
	propertiesGroup.setLayoutData(propertiesGroupData);
	GridLayout propertiesGroupLayout = new GridLayout();
	propertiesGroupLayout.numColumns = 3;
	propertiesGroup.setLayout(propertiesGroupLayout);
	return propertiesGroup;
}
 
开发者ID:cetic,项目名称:SimQRI,代码行数:15,代码来源:QueryPropertiesEditionPartImpl.java

示例4: createPropertiesGroup

import org.eclipse.swt.widgets.Group; //导入方法依赖的package包/类
/**
 * 
 */
protected Composite createPropertiesGroup(Composite parent) {
	Group propertiesGroup = new Group(parent, SWT.NONE);
	propertiesGroup.setText(MetamodelMessages.StorageOutputFlowPropertiesEditionPart_PropertiesGroupLabel);
	GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL);
	propertiesGroupData.horizontalSpan = 3;
	propertiesGroup.setLayoutData(propertiesGroupData);
	GridLayout propertiesGroupLayout = new GridLayout();
	propertiesGroupLayout.numColumns = 3;
	propertiesGroup.setLayout(propertiesGroupLayout);
	return propertiesGroup;
}
 
开发者ID:cetic,项目名称:SimQRI,代码行数:15,代码来源:StorageOutputFlowPropertiesEditionPartImpl.java

示例5: createOptionsGroupButtons

import org.eclipse.swt.widgets.Group; //导入方法依赖的package包/类
@Override
protected void createOptionsGroupButtons(Group optionsGroup) {
	Font font = optionsGroup.getFont();
	optionsGroup.setLayout(new GridLayout(2, true));

	Composite left = new Composite(optionsGroup, SWT.NONE);
	left.setLayoutData(new GridData(SWT.LEFT, SWT.TOP, true, false));
	left.setLayout(new GridLayout(1, true));

	// compress... checkbox
	compressContentsCheckbox = new Button(left, SWT.CHECK | SWT.LEFT);
	compressContentsCheckbox.setText(DataTransferMessages.ZipExport_compressContents);
	compressContentsCheckbox.setFont(font);

}
 
开发者ID:eclipse,项目名称:n4js,代码行数:16,代码来源:ExportSelectionPage.java

示例6: createPropertiesGroup

import org.eclipse.swt.widgets.Group; //导入方法依赖的package包/类
/**
 * 
 */
protected Composite createPropertiesGroup(Composite parent) {
	Group propertiesGroup = new Group(parent, SWT.NONE);
	propertiesGroup.setText(MetamodelMessages.StoragePropertiesEditionPart_PropertiesGroupLabel);
	GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL);
	propertiesGroupData.horizontalSpan = 3;
	propertiesGroup.setLayoutData(propertiesGroupData);
	GridLayout propertiesGroupLayout = new GridLayout();
	propertiesGroupLayout.numColumns = 3;
	propertiesGroup.setLayout(propertiesGroupLayout);
	return propertiesGroup;
}
 
开发者ID:cetic,项目名称:SimQRI,代码行数:15,代码来源:StoragePropertiesEditionPartImpl.java

示例7: createPropertiesGroup

import org.eclipse.swt.widgets.Group; //导入方法依赖的package包/类
/**
 * 
 */
protected Composite createPropertiesGroup(Composite parent) {
	Group propertiesGroup = new Group(parent, SWT.NONE);
	propertiesGroup.setText(LibraryMessages.OtherPropertiesEditionPart_PropertiesGroupLabel);
	GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL);
	propertiesGroupData.horizontalSpan = 3;
	propertiesGroup.setLayoutData(propertiesGroupData);
	GridLayout propertiesGroupLayout = new GridLayout();
	propertiesGroupLayout.numColumns = 3;
	propertiesGroup.setLayout(propertiesGroupLayout);
	return propertiesGroup;
}
 
开发者ID:polarsys,项目名称:time4sys,代码行数:15,代码来源:OtherPropertiesEditionPartImpl.java

示例8: createPropertiesGroup

import org.eclipse.swt.widgets.Group; //导入方法依赖的package包/类
/**
 * @generated
 */
protected Composite createPropertiesGroup(Composite parent) {
	Group propertiesGroup = new Group(parent, SWT.NONE);
	propertiesGroup.setText(AnalysisMessages.RequiredProtectionParameterPropertiesEditionPart_PropertiesGroupLabel);
	GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL);
	propertiesGroupData.horizontalSpan = 3;
	propertiesGroup.setLayoutData(propertiesGroupData);
	GridLayout propertiesGroupLayout = new GridLayout();
	propertiesGroupLayout.numColumns = 3;
	propertiesGroup.setLayout(propertiesGroupLayout);
	return propertiesGroup;
}
 
开发者ID:polarsys,项目名称:time4sys,代码行数:15,代码来源:RequiredProtectionParameterPropertiesEditionPartImpl.java

示例9: createPropertiesGroup

import org.eclipse.swt.widgets.Group; //导入方法依赖的package包/类
/**
 * @generated
 */
protected Composite createPropertiesGroup(Composite parent) {
	Group propertiesGroup = new Group(parent, SWT.NONE);
	propertiesGroup.setText(AnalysisMessages.SchedulerPropertiesEditionPart_PropertiesGroupLabel);
	GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL);
	propertiesGroupData.horizontalSpan = 3;
	propertiesGroup.setLayoutData(propertiesGroupData);
	GridLayout propertiesGroupLayout = new GridLayout();
	propertiesGroupLayout.numColumns = 3;
	propertiesGroup.setLayout(propertiesGroupLayout);
	return propertiesGroup;
}
 
开发者ID:polarsys,项目名称:time4sys,代码行数:15,代码来源:SchedulerPropertiesEditionPartImpl.java

示例10: createPropertiesGroup

import org.eclipse.swt.widgets.Group; //导入方法依赖的package包/类
/**
 * @generated
 */
protected Composite createPropertiesGroup(Composite parent) {
	Group propertiesGroup = new Group(parent, SWT.NONE);
	propertiesGroup.setText(AnalysisMessages.FragmentPropertiesEditionPart_PropertiesGroupLabel);
	GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL);
	propertiesGroupData.horizontalSpan = 3;
	propertiesGroup.setLayoutData(propertiesGroupData);
	GridLayout propertiesGroupLayout = new GridLayout();
	propertiesGroupLayout.numColumns = 3;
	propertiesGroup.setLayout(propertiesGroupLayout);
	return propertiesGroup;
}
 
开发者ID:polarsys,项目名称:time4sys,代码行数:15,代码来源:FragmentPropertiesEditionPartImpl.java

示例11: createPropertiesGroup

import org.eclipse.swt.widgets.Group; //导入方法依赖的package包/类
/**
 * 
 */
protected Composite createPropertiesGroup(Composite parent) {
	Group propertiesGroup = new Group(parent, SWT.NONE);
	propertiesGroup.setText(MetamodelMessages.OrderOnStockThresholdPropertiesEditionPart_PropertiesGroupLabel);
	GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL);
	propertiesGroupData.horizontalSpan = 3;
	propertiesGroup.setLayoutData(propertiesGroupData);
	GridLayout propertiesGroupLayout = new GridLayout();
	propertiesGroupLayout.numColumns = 3;
	propertiesGroup.setLayout(propertiesGroupLayout);
	return propertiesGroup;
}
 
开发者ID:cetic,项目名称:SimQRI,代码行数:15,代码来源:OrderOnStockThresholdPropertiesEditionPartImpl.java

示例12: createPropertiesGroup

import org.eclipse.swt.widgets.Group; //导入方法依赖的package包/类
/**
 * 
 */
protected Composite createPropertiesGroup(Composite parent) {
	Group propertiesGroup = new Group(parent, SWT.NONE);
	propertiesGroup.setText(HrmMessages.GeneralPropertiesEditionPart_PropertiesGroupLabel);
	GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL);
	propertiesGroupData.horizontalSpan = 3;
	propertiesGroup.setLayoutData(propertiesGroupData);
	GridLayout propertiesGroupLayout = new GridLayout();
	propertiesGroupLayout.numColumns = 3;
	propertiesGroup.setLayout(propertiesGroupLayout);
	return propertiesGroup;
}
 
开发者ID:polarsys,项目名称:time4sys,代码行数:15,代码来源:GeneralPropertiesEditionPartImpl.java

示例13: createPropertiesGroup

import org.eclipse.swt.widgets.Group; //导入方法依赖的package包/类
/**
 * 
 */
protected Composite createPropertiesGroup(Composite parent) {
	Group propertiesGroup = new Group(parent, SWT.NONE);
	propertiesGroup.setText(HrmMessages.OtherPropertiesEditionPart_PropertiesGroupLabel);
	GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL);
	propertiesGroupData.horizontalSpan = 3;
	propertiesGroup.setLayoutData(propertiesGroupData);
	GridLayout propertiesGroupLayout = new GridLayout();
	propertiesGroupLayout.numColumns = 3;
	propertiesGroup.setLayout(propertiesGroupLayout);
	return propertiesGroup;
}
 
开发者ID:polarsys,项目名称:time4sys,代码行数:15,代码来源:OtherPropertiesEditionPartImpl.java

示例14: createPropertiesGroup

import org.eclipse.swt.widgets.Group; //导入方法依赖的package包/类
/**
 * @generated
 */
protected Composite createPropertiesGroup(Composite parent) {
	Group propertiesGroup = new Group(parent, SWT.NONE);
	propertiesGroup.setText(AnalysisMessages.ConstraintContainerPropertiesEditionPart_PropertiesGroupLabel);
	GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL);
	propertiesGroupData.horizontalSpan = 3;
	propertiesGroup.setLayoutData(propertiesGroupData);
	GridLayout propertiesGroupLayout = new GridLayout();
	propertiesGroupLayout.numColumns = 3;
	propertiesGroup.setLayout(propertiesGroupLayout);
	return propertiesGroup;
}
 
开发者ID:polarsys,项目名称:time4sys,代码行数:15,代码来源:ConstraintContainerPropertiesEditionPartImpl.java

示例15: createPropertiesGroup

import org.eclipse.swt.widgets.Group; //导入方法依赖的package包/类
/**
 * @generated
 */
protected Composite createPropertiesGroup(Composite parent) {
	Group propertiesGroup = new Group(parent, SWT.NONE);
	propertiesGroup.setText(AnalysisMessages.MutualExclusionResourcePropertiesEditionPart_PropertiesGroupLabel);
	GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL);
	propertiesGroupData.horizontalSpan = 3;
	propertiesGroup.setLayoutData(propertiesGroupData);
	GridLayout propertiesGroupLayout = new GridLayout();
	propertiesGroupLayout.numColumns = 3;
	propertiesGroup.setLayout(propertiesGroupLayout);
	return propertiesGroup;
}
 
开发者ID:polarsys,项目名称:time4sys,代码行数:15,代码来源:MutualExclusionResourcePropertiesEditionPartImpl.java


注:本文中的org.eclipse.swt.widgets.Group.setLayout方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。