| net.refractions.udig.project.internal.ContextModel
All known Subclasses: net.refractions.udig.project.internal.impl.ContextModelImpl,
ContextModel | public interface ContextModel extends EObject(Code) | | TODO Purpose of net.refractions.udig.project.internal
author: Jesse since: 1.0.0 |
Method Summary | |
public void | addDeepAdapter(Adapter adapter) Adds an adapter to the context model and all of the layers in the model. | public List<Layer> | getLayers() Gets the complete set of Layer objects. | public Map | getMap() Gets the owning map object. | public List<Layer> | layers() Gets the complete set of Layer objects. | public void | lowerLayer(Layer layer) Increases the ZOrder of the layer so it is rendered earlier with incomparison to the other
layers. | public void | raiseLayer(Layer layer) Decreases the ZOrder of the layer so it is rendered later with incomparison to the other
layers. | public void | removeDeepAdapter(Adapter adapter) Removes the adapter from all layers and context model. | public void | select(Envelope boundingBox) Select all selectable layers, with a BoundingBox Geometry filter. | public void | select(Envelope boundingBox, boolean and) Select all selectable layers, with a BoundingBox Geometry filter. | public void | select(Filter filter) Select all selectable layers, with the provided filter. | public void | select(Filter filter, boolean and) Combines selection, from the selectable layers, with the provided filter. | void | setMap(Map value) Sets the value of the '
net.refractions.udig.project.internal.ContextModel.getMap Map ' container reference. |
addDeepAdapter | public void addDeepAdapter(Adapter adapter)(Code) | | Adds an adapter to the context model and all of the layers in the model.
Each time a layer is added the adapter will be added to the model as well.
Parameters: adapter - adapter to add as a deep adapterMap.addDeepAdapter(Adapter) |
getLayers | public List<Layer> getLayers()(Code) | | Gets the complete set of Layer objects. The order of the objects represents the the z-order
in which they are renderered
A List of all the Layers in the objectMap.getLayersInternal |
getMap | public Map getMap()(Code) | | Gets the owning map object.
the owning map object. |
layers | public List<Layer> layers()(Code) | | Gets the complete set of Layer objects. The order of the objects represents the the z-order
in which they are renderered
A List of all the Layers in the object See Also: getLayers See Also: for the EMF data modelMap.getLayersInternal |
lowerLayer | public void lowerLayer(Layer layer)(Code) | | Increases the ZOrder of the layer so it is rendered earlier with incomparison to the other
layers. If the Layer is at the bottom of the render list(first to be drawn) it is not
affected.
Parameters: layer - The layer whose rendering order will be modifiedMap.lowerLayer(Layer) |
raiseLayer | public void raiseLayer(Layer layer)(Code) | | Decreases the ZOrder of the layer so it is rendered later with incomparison to the other
layers. If the Layer is at the top of the render list(last to be drawn) it is not affected.
Parameters: layer - The layer whose rendering order will be modifiedMap.raiseLayer(Layer) |
select | public void select(Envelope boundingBox)(Code) | | Select all selectable layers, with a BoundingBox Geometry filter. Boundingbox must be in the
same CRS as the ViewportModel
Any Tool that wishes to be undoable would will need to remember the previous state.
Parameters: boundingBox - the bounding box in Viewportmodel CRS to create a filter withMap.select(Envelope) |
select | public void select(Envelope boundingBox, boolean and)(Code) | | Select all selectable layers, with a BoundingBox Geometry filter. Boundingbox must be in the
same CRS as the ViewportModel
Any Tool that wishes to be undoable would will need to remember the previous state.
Parameters: boundingBox - the bounding box in Viewportmodel CRS to create a filter with Parameters: and - true adds (or with current filter)to the current selection, false removes from thecurrent selection(and with current filter).Map.select(Envelopeboolean) |
select | public void select(Filter filter)(Code) | | Select all selectable layers, with the provided filter.
Any Tool that wishes to be undoable would will need to remember the previous state.
Parameters: filter - new selection filterMap.select(Filter) |
select | public void select(Filter filter, boolean and)(Code) | | Combines selection, from the selectable layers, with the provided filter.
Any Tool that wishes to be undoable would will need to remember the previous state.
Parameters: filter - the new filter Parameters: and - true adds (or with current filter)to the current selection, false removes from thecurrent selection(and with current filter).Map.select(Filterboolean) |
|
|