Package org.eclipse.gef.editparts

Examples of org.eclipse.gef.editparts.LayerManager


   */
  public byte[] createImage(int format) {
    ByteArrayOutputStream result = new ByteArrayOutputStream();

    Device device = this.editor.getGraphViewer().getControl().getDisplay();
    LayerManager lm = (LayerManager) this.editor.getGraphViewer()
        .getEditPartRegistry().get(LayerManager.ID);
    IFigure figure = lm.getLayer(LayerConstants.PRINTABLE_LAYERS);
    Rectangle r = figure.getClientArea();

    Image image = null;
    GC gc = null;
    Graphics g = null;
View Full Code Here

TOP

Related Classes of org.eclipse.gef.editparts.LayerManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.