001: /*
002: * uDig - User Friendly Desktop Internet GIS client http://udig.refractions.net (C) 2004,
003: * Refractions Research Inc. This library is free software; you can redistribute it and/or modify it
004: * under the terms of the GNU Lesser General Public License as published by the Free Software
005: * Foundation; version 2.1 of the License. This library is distributed in the hope that it will be
006: * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
007: * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
008: */
009: package net.refractions.udig.project.internal.render;
010:
011: import net.refractions.udig.project.internal.Map;
012: import net.refractions.udig.project.render.IRenderManager;
013: import net.refractions.udig.project.render.displayAdapter.IMapDisplay;
014:
015: import org.eclipse.emf.ecore.EObject;
016:
017: import com.vividsolutions.jts.geom.Envelope;
018:
019: /**
020: * TODO Purpose of net.refractions.udig.project.internal.render
021: * <p>
022: * </p>
023: *
024: * @author Jesse
025: * @since 1.0.0
026: * @model
027: */
028: public interface RenderManager extends EObject, IRenderManager {
029: /**
030: * <!-- begin-user-doc --> <!-- end-user-doc -->
031: *
032: * @generated
033: */
034: String copyright = "uDig - User Friendly Desktop Internet GIS client http://udig.refractions.net (C) 2004, Refractions Research Inc. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; version 2.1 of the License. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details."; //$NON-NLS-1$
035:
036: /**
037: * Returns the Map associated with the current renderManager.
038: *
039: * @return the Map associated with the current renderManager.
040: * @model many="false" opposite="renderManagerInternal"
041: */
042: public Map getMapInternal();
043:
044: /**
045: * Sets the value of the '{@link net.refractions.udig.project.internal.render.RenderManager#getMapInternal <em>Map Internal</em>}'
046: * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
047: *
048: * @param value the new value of the '<em>Map Internal</em>' reference.
049: * @see #getMapInternal()
050: * @generated
051: */
052: void setMapInternal(Map value);
053:
054: /**
055: * Returns the value of the '<em><b>Render Executor</b></em>' reference. <!--
056: * begin-user-doc -->
057: * <p>
058: * If the meaning of the '<em>Render Executor</em>' reference isn't clear, there really
059: * should be more of a description here...
060: * </p>
061: * <!-- end-user-doc -->
062: *
063: * @return the value of the '<em>Render Executor</em>' reference.
064: * @see #setRenderExecutor(RenderExecutor)
065: * @see net.refractions.udig.project.internal.render.RenderPackage#getRenderManager_RenderExecutor()
066: * @model resolveProxies="false"
067: * @generated
068: */
069: RenderExecutor getRenderExecutor();
070:
071: /**
072: * Sets the value of the '{@link net.refractions.udig.project.internal.render.RenderManager#getRenderExecutor <em>Render Executor</em>}'
073: * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
074: *
075: * @param value the new value of the '<em>Render Executor</em>' reference.
076: * @see #getRenderExecutor()
077: * @generated
078: */
079: void setRenderExecutor(RenderExecutor value);
080:
081: /**
082: * Gets the ViewportPane for the current RenderManager.
083: *
084: * @return the ViewportPane for the current RenderManager
085: * @model many="false" dataType=net.refractions.udig.project.render.displayAdapter.IMapDisplay"
086: */
087: public IMapDisplay getMapDisplay();
088:
089: /**
090: * Sets the value of the '{@link net.refractions.udig.project.internal.render.RenderManager#getMapDisplay <em>Map Display</em>}'
091: * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
092: *
093: * @param value the new value of the '<em>Map Display</em>' attribute.
094: * @see #getMapDisplay()
095: * @generated
096: */
097: void setMapDisplay(IMapDisplay value);
098:
099: /**
100: * Forces the area in all layers to be re-rendered. If bounds is null then the entire layer must
101: * be rendered.
102: *
103: * @model
104: */
105: public void refresh(Envelope bounds);
106:
107: /**
108: * Returns the RendererCreator used to create renderers.
109: *
110: * @return the RendererCreator used to create renderers.
111: * @model many="false" containment="true" transient="true" resolveProxies="false"
112: */
113: public RendererCreator getRendererCreator();
114:
115: /**
116: * Returns the value of the '<em><b>Viewport Model Internal</b></em>' reference. It is
117: * bidirectional and its opposite is '{@link net.refractions.udig.project.internal.render.ViewportModel#getRenderManagerInternal <em>Render Manager Internal</em>}'.
118: * <!-- begin-user-doc -->
119: * <p>
120: * If the meaning of the '<em>Viewport Model</em>' reference isn't clear, there really
121: * should be more of a description here...
122: * </p>
123: * <!-- end-user-doc -->
124: *
125: * @return the value of the '<em>Viewport Model Internal</em>' reference.
126: * @see #setViewportModelInternal(ViewportModel)
127: * @see net.refractions.udig.project.internal.render.RenderPackage#getRenderManager_ViewportModelInternal()
128: * @see net.refractions.udig.project.internal.render.ViewportModel#getRenderManagerInternal
129: * @model opposite="renderManagerInternal" resolveProxies="false" transient="true"
130: * @generated
131: */
132: ViewportModel getViewportModelInternal();
133:
134: /**
135: * Sets the value of the '{@link net.refractions.udig.project.internal.render.RenderManager#getViewportModelInternal <em>Viewport Model Internal</em>}'
136: * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
137: *
138: * @param value the new value of the '<em>Viewport Model Internal</em>' reference.
139: * @see #getViewportModelInternal()
140: * @generated
141: */
142: void setViewportModelInternal(ViewportModel value);
143:
144: /**
145: * dispose held resources.
146: *
147: * @model
148: */
149: public void dispose();
150:
151: /**
152: * Returns true if the RenderManager has been disposed.
153: *
154: * @return
155: */
156: public boolean isDisposed();
157:
158: }
|