本文整理汇总了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;
}
示例2: initLayout
/**
* {@inheritDoc}
*/
@Override
protected void initLayout(final GridLayout layout) {
super.initLayout(layout);
layout.numColumns = 3;
layout.verticalSpacing = Resources.VERTICAL_SPACING;
}
示例3: initLayout
@Override
protected void initLayout(GridLayout layout) {
super.initLayout(layout);
layout.numColumns = 2;
layout.makeColumnsEqualWidth = true;
layout.verticalSpacing = Resources.VERTICAL_SPACING;
}
示例4: initLayout
/**
* {@inheritDoc}
*/
@Override
protected void initLayout(GridLayout layout) {
super.initLayout(layout);
layout.numColumns = 3;
layout.verticalSpacing = Resources.VERTICAL_SPACING;
}
示例5: initLayout
@Override
protected void initLayout(final GridLayout layout) {
super.initLayout(layout);
layout.verticalSpacing = Resources.VERTICAL_SPACING;
}
示例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"));
}
示例7: initLayout
@Override
protected void initLayout(GridLayout layout) {
super.initLayout(layout);
layout.verticalSpacing = Resources.VERTICAL_SPACING;
}
示例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"));
}