private boolean isShowTooltips = true;
- private boolean isExactQuantitativeValue = true;
-
public CharacterMatrix(Composite parent, CharacterMatrixPart part) {
super(parent, SWT.NONE);
this.part = part;
return isShowTooltips;
}
- public void toogleExactQuantitativeValue() {
- this.isExactQuantitativeValue = !this.isExactQuantitativeValue;
- }
-
- public boolean isExactQuantitativeValue() {
- return isExactQuantitativeValue;
- }
-
}
private void init() {
setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
- setLayout(new GridLayout(11, false));
+ setLayout(new GridLayout(10, false));
wsLabel = new Label(this, SWT.NONE);
- Button btnToggleExactQuantValue = new Button(this, SWT.TOGGLE);
Button btnToggleTooltips = new Button(this, SWT.TOGGLE);
Button btnToggleTree = new Button(this, SWT.PUSH);
Button btnToggleFlat = new Button(this, SWT.PUSH);
Button btnManageState = new Button(this, SWT.PUSH);
Button btnExcelExport = new Button(this, SWT.PUSH);
- /**
- * Toggle exact quantitative value
- */
- initButton(
- btnToggleExactQuantValue,
- null,
- "Show exact values",
- "Exact/Aggregate",
- true,
- true,
- (e)->matrix.toogleExactQuantitativeValue()
- );
/**
* Toggle tooltips button
*/