Skip to content
Snippets Groups Projects
Commit fd5cf069 authored by Daniel Ratiu's avatar Daniel Ratiu
Browse files

resolving this issue

refs 135
parent a39071a5
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@ import org.eclipse.draw2d.IFigure;
import org.eclipse.draw2d.Layer;
import org.eclipse.draw2d.LayeredPane;
import org.eclipse.draw2d.XYLayout;
import org.eclipse.draw2d.geometry.Dimension;
import org.eclipse.gef.LayerConstants;
import org.eclipse.gef.editparts.ScalableRootEditPart;
......@@ -48,7 +49,7 @@ import org.eclipse.gef.editparts.ScalableRootEditPart;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating GREEN Hash: EEF232D1D394121770E0219EF52A0CC9
* @ConQAT.Rating YELLOW Hash: 1069FF3D293B08F939EB677F0ABD298A
*/
public class ExtendedLayerRootEditPart extends ScalableRootEditPart {
/** The node layer ID. */
......@@ -94,6 +95,12 @@ public class ExtendedLayerRootEditPart extends ScalableRootEditPart {
pane.addLayerBefore(decorationLayer, DECORATION_LAYER, LABEL_LAYER);
pane.addLayerBefore(customLayer, CUSTOM_LAYER, DECORATION_LAYER);
// set the minimum size of the pane such that it is enough for each AF3 diagram
// this addresses Issue #135
Dimension paneSize = new Dimension(2000, 2000);
pane.setMinimumSize(paneSize);
pane.setPreferredSize(paneSize);
return pane;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment