Method Summary |
|
CoordinateReferenceSystem | getCRS(IProgressMonitor monitor) Gets the CRS for the layer. |
CoordinateReferenceSystem | getCRS() A convenience method for getCRS(null). |
CatalogRef | getCatalogRef() Returns the layer reference information.. |
ColourScheme | getColourScheme() |
public ContextModel | getContextModel() |
Color | getDefaultColor() |
List<FeatureEvent> | getFeatureChanges() Returns a list of all the FeatureEvents since the last commit. |
Filter | getFilter() Filter indicating the selected features.
In order for this value to be useful the layer should be selectable, often a single fid
filter during user edit opperations.
Note: Filter.ALL indicates no selected Features. |
public IGeoResource | getGeoResource() Returns the currently preferred. |
public List<IGeoResource> | getGeoResources() Access to resources that hold data for this layer. |
public ImageDescriptor | getGlyph() ImageDescriptor for this Layer. |
public URL | getID() |
Map | getMapInternal() Gets Containing Map. |
public double | getMaxScaleDenominator() |
public double | getMinScaleDenominator() |
public String | getName() Gets the name from the associated metadata. |
IBlackboard | getProperties() Temporary layer properties, used for lightweight collaboration. |
public Query | getQuery(boolean selection) Query that selects all the features for the layer.
The selected flag is used with respect to
getFilter() :
- false : Query for layers contents
- true : Query for the layer's selected features
Parameters: layer - The layer the Query is associated with. Parameters: selection - true will return a query for the selected features. |
public int | getStatus() Indication of Layer status. |
public StyleBlackboard | getStyleBlackboard() StyleBlackboard used to persist user supplied appearance settings.
This method forms part of the EMF model of a Layer, client code should use style(). |
public int | getZorder() |
public boolean | isSelectable() Indicates this layer is capable of selectable.
A Selectable Layer can be used with the Utilities.getQuery opperation. |
public boolean | isVisible() |
public void | setApplicable(String toolCategoryId, boolean isApplicable) Set toolset applicability. |
public void | setBounds(ReferencedEnvelope bounds) Sets the spatial bounds of this layer. |
void | setCRS(CoordinateReferenceSystem value) Sets the value of the '
net.refractions.udig.project.internal.Layer.getCRS CRS ' attribute. |
void | setCatalogRef(CatalogRef value) Sets the value of the '
net.refractions.udig.project.internal.Layer.getCatalogRef Catalog Ref ' attribute. |
void | setColourScheme(ColourScheme value) Sets the value of the '
net.refractions.udig.project.internal.Layer.getColourScheme Colour Scheme ' attribute. |
void | setContextModel(ContextModel value) Sets the value of the '
net.refractions.udig.project.internal.Layer.getContextModel Context Model ' container reference. |
void | setDefaultColor(Color value) Sets the value of the '
net.refractions.udig.project.internal.Layer.getDefaultColor Default Color ' attribute. |
void | setFilter(Filter value) Sets the value of the '
net.refractions.udig.project.internal.Layer.getFilter Filter ' attribute. |
void | setGeoResource(IGeoResource value) Sets the value of the '
net.refractions.udig.project.internal.Layer.getGeoResource Geo Resource ' attribute. |
void | setGlyph(ImageDescriptor value) Sets the value of the '
net.refractions.udig.project.internal.Layer.getGlyph Glyph ' attribute. |
void | setID(URL value) Sets the value of the '
net.refractions.udig.project.internal.Layer.getID ID ' attribute. |
public void | setMaxScaleDenominator(double value) Sets the value of the '
net.refractions.udig.project.internal.Layer.getMaxScaleDenominator Max Scale Denominator ' attribute. |
public void | setMinScaleDenominator(double value) Sets the value of the '
net.refractions.udig.project.internal.Layer.getMinScaleDenominator Min Scale Denominator ' attribute. |
void | setName(String value) Sets the value of the '
net.refractions.udig.project.internal.Layer.getName Name ' attribute. |
void | setSelectable(boolean value) Sets the value of the '
net.refractions.udig.project.internal.Layer.isSelectable Selectable ' attribute.
Used by the user to control which layers are selectable,
may be ignored for GeoResources that do not support editing. |
void | setStatus(int value) Sets the value of the '
net.refractions.udig.project.internal.Layer.getStatus Status ' attribute. |
void | setStatusMessage(String message) |
void | setStyleBlackboard(StyleBlackboard value) Sets the value of the '
net.refractions.udig.project.internal.Layer.getStyleBlackboard Style Blackboard '
containment reference. |
void | setVisible(boolean value) Sets the value of the '
net.refractions.udig.project.internal.Layer.isVisible Visible ' attribute. |
void | setZorder(int value) Sets the value of the '
net.refractions.udig.project.internal.Layer.getZorder Zorder ' attribute. |