|
| ElevationAnalysisLayerViewModel (IMapResources mapResources, IUndoRedoStack undoRedoStack, IGeoContext geoContext, IGeoUnitsSetting geoUnitsSetting, int maxRange, IElevationAnalysisViewFactory layerViewFactory, IElevationAnalysisToolManager toolManager, string layerName) |
| Create a new instance of ElevationAnalysisLayerViewModel.
|
|
override void | HandleInputEvent (GeoInputEventArgs inputEventArgs) |
| Called to forward events to the layer.- Parameters
-
If the layer handles the event, it must set the Handled property to true.
|
|
override void | Update () |
| Event called at regular intervals to update contents of the layer.
|
|
void | UpdateObserver (IObserverData observerData) |
| Adds or updates an observer.- Parameters
-
observerData | The observer to add or update. |
|
|
void | ActivateCreationWorkflow (ObserverType observerType, IObserverData initialData=null) |
| Activates a creation workflow in this layer.- Parameters
-
observerType | Observer type. |
initialData | Initial data for the observer. If no initial data is given, a new is created. |
|
|
void | DeactivateCreationWorkflow () |
| Deactivates the currently active workflow.
|
|
bool | HasActiveCreationWorkflow () |
| Checks if layer has an active workflow.- Returns
- True if an active workflow exists.
|
|
void | SetUndoRedoStack (IUndoRedoStack undoRedoStack) |
| Sets a new undo redo stack to use.- Parameters
-
undoRedoStack | The undo redo stack. |
|
|
void | UndoRedoAddObserverData (IObserverData observerData) |
| Add observer data for undo/redo stack.- Parameters
-
|
|
void | UndoRedoRemoveObserData (IObserverData observerData) |
| Remove observer data for undo/redo stack.- Parameters
-
|
|
void | UndoRedoUpdateObserverData (IObserverData observerData) |
| Update observer data for undo/redo stack.- Parameters
-
|
|
List< string > | GetClickedObservers (Point point) |
| Get observer ids at clicked position.- Parameters
-
- Returns
- List of ids.
|
|
| GeoLayerViewModel (IGeoContext geoContext, IGeoNavigator geoNavigator) |
|
abstract void | HandleInputEvent (GeoInputEventArgs inputEventArgs) |
| Called to forward events to the layer.
|
|
virtual void | Generate () |
| Requests that the layer generates it's view.
|
|
abstract void | Update () |
| Event called at regular intervals to update contents of the layer.
|
|
virtual void | SetDirty (bool isDirty) |
| Sets a boolean value indicating the need for an update of the contents of a layer.
|
|
void | SetDirty (object sender) |
| Sets dirty flag and stores sender, use to avoid cyclic dirtying.
|
|
virtual bool | IsDirty () |
|
void | Dispose () |
| Invoked when this object is being removed from the application and will be subject to garbage collection.
|
|
void | HandleInputEvent (GeoInputEventArgs inputEventArgs) |
| Called to forward events to the layer.
|
|
void | Generate () |
| Requests that the layer generates it's view.
|
|
void | Update () |
| Event called at regular intervals to update contents of the layer.
|
|
void | SetDirty (bool isDirty) |
| Sets a boolean value indicating the need for an update of the contents of a layer.
|
|
void | SetDirty (object dirtySource) |
| Sets dirty flag and stores sender, use to avoid cyclic dirtying.
|
|
bool | IsDirty () |
|
void | UpdateObserver (IObserverData observerData) |
| Adds or updates an observer.
|
|
void | ActivateCreationWorkflow (ObserverType observerType, IObserverData initialData=null) |
| Activates a creation workflow in this layer.
|
|
void | DeactivateCreationWorkflow () |
| Deactivates the currently active workflow.
|
|
bool | HasActiveCreationWorkflow () |
| Checks if layer has an active workflow.
|
|
void | SetUndoRedoStack (IUndoRedoStack undoRedoStack) |
| Sets a new undo redo stack to use.
|
|
List< string > | GetClickedObservers (Point point) |
| Get observer ids at clicked position.
|
|
void | UndoRedoAddObserverData (IObserverData observerData) |
| Add observer data for undo/redo stack.
|
|
void | UndoRedoRemoveObserData (IObserverData observerData) |
| Remove observer data for undo/redo stack.
|
|
void | UndoRedoUpdateObserverData (IObserverData observerData) |
| Update observer data for undo/redo stack.
|
|
|
DrawingVisual | RenderTarget [get, set] |
| The render target to use for rendering in this layer.
|
|
ObservableCollection< IObserverData > | Observers [get] |
| The active observers.
|
|
int | NumActiveCalculations [get, set] |
| The number of currently running elevation analysis calculations. These calculations are run asynchronously and may take some time. There will be at most one active calculation per observer.
|
|
IGeoControlViewModel | GeoControlViewModel [get, set] |
| Get or set geo control view model.
|
|
UIElement | Tooltip [get, set] |
| Get or set tooltip UI element.
|
|
string | Name [get] |
| A name representing the type of layer.
|
|
bool | Visible [get, set] |
| Gets or sets the visibility of the layer.
|
|
IGeoContext | GeoContext [get, set] |
| Gets or sets the GeoContext related to the layer.
|
|
IGeoNavigator | GeoNavigator [get, set] |
| Gets or sets the GeoNavigator related to the GeoControl.
|
|
IGeoLayerViewFactory | GeoLayerViewFactory [get, set] |
| Gets a factory responsible for creating a IGeoLayerViewFactory view.
|
|
IGeoLayerView | GeoLayerView [get, set] |
| Gets or sets the view associated with this view model.
|
|
ClipMargins | ClipMargins [get, set] |
| Enables or disables clipping of the contents of the view, based on the specifed clip margins.
|
|
HashSet< object > | DirtySources [get] |
| All contributors to current dirty.
|
|
virtual string | DisplayName [get, protected set] |
| Returns the user-friendly name of this object. Child classes can set this property to a new value, or override it to determine the value on-demand.
|
|
string | DisplayName [get] |
|
string | Name [get] |
| A name representing the type of layer.
|
|
bool | Visible [get, set] |
| Gets or sets the visibility of the layer.
|
|
IGeoContext | GeoContext [get, set] |
| Gets or sets the GeoContext related to the layer.
|
|
IGeoLayerViewFactory | GeoLayerViewFactory [get] |
| Gets a factory responsible for creating a IGeoLayerViewFactory view.
|
|
IGeoLayerView | GeoLayerView [get, set] |
| Gets or sets the view associated with this view model.
|
|
IGeoNavigator | GeoNavigator [get, set] |
| Gets or sets the GeoNavigator related to the GeoControl.
|
|
IGeoControlViewModel | GeoControlViewModel [get, set] |
| Get or set geo control view model.
|
|
ClipMargins | ClipMargins [get, set] |
| Enables or disables clipping of the contents of the view, based on the specifed clip margins.
|
|
HashSet< object > | DirtySources [get] |
| All contributors to current dirty.
|
|
UIElement | Tooltip [get, set] |
| Get or set tooltip UI element.
|
|
DrawingVisual | RenderTarget [get, set] |
| The render target to use for rendering in this layer.
|
|
ObservableCollection< IObserverData > | Observers [get] |
| The active observers.
|
|
int | NumActiveCalculations [get, set] |
| The number of currently running elevation analysis calculations. These calculations are run asynchronously and may take some time. There will be at most one active calculation per observer.
|
|
View model for elevation analysis layer.