use of edu.cmu.cs.hcii.cogtool.view.StandardDrawingEditor in project cogtool by cogtool.
the class SEFrameChooserUI method resetVisibleArea.
// ctor
@Override
public void resetVisibleArea() {
StandardDrawingEditor e = view.getEditor();
e.getLWS().getUpdateManager().performUpdate();
DoubleSize extent = structureView.getPreferredSize();
e.setMinVisibleArea(PrecisionUtilities.round(extent.width), PrecisionUtilities.round(extent.height), false);
}
use of edu.cmu.cs.hcii.cogtool.view.StandardDrawingEditor in project cogtool by cogtool.
the class FrameEditorUI method resetVisibleArea.
public void resetVisibleArea() {
// TODO:mlh at least on PC, performUpdate screws up previous locn assignment
StandardDrawingEditor e = view.getEditor();
e.getLWS().getUpdateManager().performUpdate();
DoubleSize extent = frameUI.getPreferredSize();
e.setMinVisibleArea(PrecisionUtilities.round(extent.width), PrecisionUtilities.round(extent.height), false);
}
Aggregations