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


Java Resources.VERTICAL_SPACING属性代码示例

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


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

示例1: initLayout

@Override
protected void initLayout(final GridLayout layout) {
    super.initLayout(layout);

    layout.numColumns = 2;
    layout.makeColumnsEqualWidth = true;
    layout.verticalSpacing = Resources.VERTICAL_SPACING;
}
 
开发者ID:roundrop,项目名称:ermasterr,代码行数:8,代码来源:RelationDialog.java

示例2: initLayout

/**
 * {@inheritDoc}
 */
@Override
protected void initLayout(final GridLayout layout) {
    super.initLayout(layout);

    layout.numColumns = 3;
    layout.verticalSpacing = Resources.VERTICAL_SPACING;
}
 
开发者ID:roundrop,项目名称:ermasterr,代码行数:10,代码来源:AbstractExportDialog.java

示例3: initLayout

@Override
protected void initLayout(GridLayout layout) {
	super.initLayout(layout);

	layout.numColumns = 2;
	layout.makeColumnsEqualWidth = true;
	layout.verticalSpacing = Resources.VERTICAL_SPACING;
}
 
开发者ID:kozake,项目名称:ermaster-k,代码行数:8,代码来源:RelationDialog.java

示例4: initLayout

/**
 * {@inheritDoc}
 */
@Override
protected void initLayout(GridLayout layout) {
	super.initLayout(layout);

	layout.numColumns = 3;
	layout.verticalSpacing = Resources.VERTICAL_SPACING;
}
 
开发者ID:kozake,项目名称:ermaster-k,代码行数:10,代码来源:AbstractExportDialog.java

示例5: initLayout

@Override
protected void initLayout(final GridLayout layout) {
    super.initLayout(layout);

    layout.verticalSpacing = Resources.VERTICAL_SPACING;
}
 
开发者ID:roundrop,项目名称:ermasterr,代码行数:6,代码来源:RelationByExistingColumnsDialog.java

示例6: createCategoryGroup

private void createCategoryGroup(final Composite composite) {
    final GridLayout gridLayout = new GridLayout();
    gridLayout.numColumns = 4;
    gridLayout.verticalSpacing = Resources.VERTICAL_SPACING;

    final Group group = new Group(composite, SWT.NONE);
    group.setText(ResourceString.getResourceString("label.category.message"));
    group.setLayout(gridLayout);

    final GridData gridData = new GridData();
    gridData.heightHint = GROUP_HEIGHT;
    group.setLayoutData(gridData);

    CompositeFactory.fillLine(group, 5);

    final GridData tableGridData = new GridData();
    tableGridData.grabExcessVerticalSpace = true;
    tableGridData.verticalAlignment = GridData.FILL;
    tableGridData.horizontalSpan = 3;
    tableGridData.verticalSpan = 2;

    categoryTable = new Table(group, SWT.BORDER | SWT.FULL_SELECTION);
    categoryTable.setHeaderVisible(true);
    categoryTable.setLayoutData(tableGridData);
    categoryTable.setLinesVisible(true);

    upButton = CompositeFactory.createUpButton(group);
    downButton = CompositeFactory.createDownButton(group);

    categoryNameText = CompositeFactory.createText(this, group, null, 3, true, false);
    CompositeFactory.filler(group, 1);

    addCategoryButton = CompositeFactory.createSmallButton(group, "label.button.add");
    updateCategoryButton = CompositeFactory.createSmallButton(group, "label.button.update");
    deleteCategoryButton = CompositeFactory.createSmallButton(group, "label.button.delete");

    final TableColumn tableColumn = new TableColumn(categoryTable, SWT.NONE);
    tableColumn.setWidth(30);
    tableColumn.setResizable(false);
    final TableColumn tableColumn1 = new TableColumn(categoryTable, SWT.NONE);
    tableColumn1.setWidth(230);
    tableColumn1.setResizable(false);
    tableColumn1.setText(ResourceString.getResourceString("label.category.name"));
}
 
开发者ID:roundrop,项目名称:ermasterr,代码行数:44,代码来源:CategoryManageDialog.java

示例7: initLayout

@Override
protected void initLayout(GridLayout layout) {
	super.initLayout(layout);

	layout.verticalSpacing = Resources.VERTICAL_SPACING;
}
 
开发者ID:kozake,项目名称:ermaster-k,代码行数:6,代码来源:RelationByExistingColumnsDialog.java

示例8: createCategoryGroup

private void createCategoryGroup(Composite composite) {
	GridLayout gridLayout = new GridLayout();
	gridLayout.numColumns = 4;
	gridLayout.verticalSpacing = Resources.VERTICAL_SPACING;

	Group group = new Group(composite, SWT.NONE);
	group.setText(ResourceString
			.getResourceString("label.category.message"));
	group.setLayout(gridLayout);

	GridData gridData = new GridData();
	gridData.heightHint = GROUP_HEIGHT;
	group.setLayoutData(gridData);

	CompositeFactory.fillLine(group, 5);

	GridData tableGridData = new GridData();
	tableGridData.grabExcessVerticalSpace = true;
	tableGridData.verticalAlignment = GridData.FILL;
	tableGridData.horizontalSpan = 3;
	tableGridData.verticalSpan = 2;

	this.categoryTable = new Table(group, SWT.BORDER | SWT.FULL_SELECTION);
	this.categoryTable.setHeaderVisible(true);
	this.categoryTable.setLayoutData(tableGridData);
	this.categoryTable.setLinesVisible(true);
	
	this.upButton = CompositeFactory.createUpButton(group);
	this.downButton = CompositeFactory.createDownButton(group);
	
	this.categoryNameText = CompositeFactory.createText(this, group, null,
			3, true, false);
	CompositeFactory.filler(group, 1);

	this.addCategoryButton = CompositeFactory.createSmallButton(group, "label.button.add");
	this.updateCategoryButton = CompositeFactory.createSmallButton(group, "label.button.update");
	this.deleteCategoryButton = CompositeFactory.createSmallButton(group, "label.button.delete");

	TableColumn tableColumn = new TableColumn(categoryTable, SWT.NONE);
	tableColumn.setWidth(30);
	tableColumn.setResizable(false);
	TableColumn tableColumn1 = new TableColumn(categoryTable, SWT.NONE);
	tableColumn1.setWidth(230);
	tableColumn1.setResizable(false);
	tableColumn1.setText(ResourceString
			.getResourceString("label.category.name"));
}
 
开发者ID:kozake,项目名称:ermaster-k,代码行数:47,代码来源:CategoryManageDialog.java


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