lbDevice = new Label(preference, SWT.READ_ONLY);
lbDevice.setText("Device: ");
RowData rowd = new RowData();
rowd.height = 45;
rowd.width = 130;
device = new List(preference, SWT.READ_ONLY | SWT.V_SCROLL);
device.setLayoutData(rowd);
lbType = new Label(preference, SWT.SHADOW_IN);
lbType.setText("Type: ");
typ = new List(preference, SWT.READ_ONLY);
typ.setItems(new String[] {"Linear", "Logarithmic"});
typ.setSelection(0);
lbAggregation = new Label(preference, SWT.SHADOW_IN);
lbAggregation.setText("Values are :");
cumulative = new List(preference, SWT.READ_ONLY);
cumulative.setItems(new String[] {"accumulated", "not accumulated"});
cumulative.setSelection(1);
lbAccessType = new Label(preference, SWT.READ_ONLY);
lbAccessType.setText("Visualizing: ");
visualizing = new List(preference, SWT.READ_ONLY);
visualizing.setItems(new String[] {"Read" , "Write"});
visualizing.setSelection(0);
c = new Canvas(topshell, SWT.DOUBLE_BUFFERED | SWT.BORDER);
c.setLayoutData(new RowData(topshell.getClientArea().width,
topshell.getClientArea().height - 75));