{
Composite parent = getFieldEditorParent();
addBoolean(DEBUG_OPEN_HLSSHELL, "Open the debug HLS shell", parent);
- addInt("Depth of components to list in the debug HLS shell (0: unbounded)", DEBUG_HLSSHELL_DEPTH, parent);
+ addInt(DEBUG_HLSSHELL_DEPTH, "Depth of components to list in the debug HLS shell (0: unbounded)", parent);
addIntCombo(ACTION_BUTTON, "Mouse button for actions", MOUSE_BUTTONS, parent);
addIntCombo(DRAG_BUTTON, "Mouse button for dragging", MOUSE_BUTTONS, parent);
addIntCombo(ZOOM_BUTTON, "Mouse button for zooming", MOUSE_BUTTONS, parent);
private void addDashesGroup(Composite parent)
{
-// Composite groupComposite = new Composite(parent, SWT.LEFT);
-// GridDataFactory.fillDefaults().grab(true, false).applyTo(groupComposite);
-// GridLayoutFactory.fillDefaults().numColumns(2).applyTo(groupComposite);
-// GridLayout gl = ((GridLayout) groupComposite.getLayout());
-// gl.horizontalSpacing = 0;
-//
-// Group grpWindowTitle = new Group(groupComposite, SWT.NONE);
-// grpWindowTitle.setText("Line dashes");
-// grpWindowTitle.setLayout(new GridLayout(1, false));
-// grpWindowTitle.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
-//
-// // show workspace name
-// Composite content = new Composite(grpWindowTitle, SWT.NONE);
-// GridDataFactory.defaultsFor(content).indent(0, 0).grab(true, false).applyTo(content);
-// GridLayout locationNameLayout = new GridLayout(2, false);
-// content.setLayout(locationNameLayout);
-// locationNameLayout.marginWidth = locationNameLayout.marginHeight = 0;
-
Composite dashesGroupParent = new Composite(parent, SWT.NONE);
dashesGroupParent.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false, 2, 1));
GridLayout dashesGroupParentLayout = new GridLayout();
Label dashesDescription = new Label(content, SWT.WRAP);
dashesDescription.setText("Line dashes for single-bit wires displaying the respective value.\n"
- + "Format: As comma-separated list of doubles. The first value is the width of the first segment,\n"
+ + "Format: A comma-separated list of doubles. The first value is the width of the first segment,\n"
+ "the second is the spacing between the first and second segments,\n"
+ "the third is the width of the second segment and so on.");
dashesDescription.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false, 2, 1));
addField(new BooleanFieldEditor(name, label, parent));
}
- private void addInt(String label, String name, Composite parent)
+ private void addInt(String name, String label, Composite parent)
{
defaultsPreferenceStore(name).getInt(name);
addField(new IntegerFieldEditor(name, label, parent));