org.eclipse.draw2d.ScalableLayeredPane Java Examples
The following examples show how to use
org.eclipse.draw2d.ScalableLayeredPane.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: VisualInterfaceViewer.java From neoscada with Eclipse Public License 1.0 | 5 votes |
private void setZoom ( final double newZoom ) { if ( this.pane instanceof org.eclipse.draw2d.ScalableLayeredPane ) { this.pane.setScale ( newZoom ); } }
Example #2
Source File: ZoomAction.java From JDeodorant with MIT License | 5 votes |
public ZoomAction(ScalableLayeredPane root, double scale){ setId(ID); this.scale = scale; this.root = root; isFreeform = false; }
Example #3
Source File: VisualInterfaceViewer.java From neoscada with Eclipse Public License 1.0 | 4 votes |
private ScalableLayeredPane createPane () { return new org.eclipse.draw2d.ScalableLayeredPane (); }
Example #4
Source File: PackageMapDiagram.java From JDeodorant with MIT License | 4 votes |
public ScalableLayeredPane getRoot() { return root; }
Example #5
Source File: ZoomInputAction.java From JDeodorant with MIT License | 4 votes |
public ZoomInputAction(ScalableLayeredPane root){ setId(ID); this.root2 = root; isFreeform = false; }