forked from SharpMap/SharpMap.DeltaShell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEmptyTool.cs
More file actions
66 lines (54 loc) · 1.51 KB
/
EmptyTool.cs
File metadata and controls
66 lines (54 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
using System;
using System.Windows.Forms;
using GeoAPI.Geometries;
using SharpMap.UI.Mapping;
using SharpMap.UI.Snapping;
namespace SharpMap.UI.Tools
{
public class EmptyTool : IEditTool
{
#region IEditTool Members
public EditorToolRole Role
{
get { return EditorToolRole.None; }
}
public void MouseDown(GeoAPI.Geometries.ICoordinate worldPos, MouseEventArgs imagePos)
{
}
public void MouseMove(GeoAPI.Geometries.ICoordinate worldPos, MouseEventArgs imagePos)
{
}
public void MouseUp(GeoAPI.Geometries.ICoordinate worldPos, MouseEventArgs imagePos)
{
}
public void KeyDown(object sender, KeyEventArgs e)
{
}
public void MouseDoubleClick(object sender, MouseEventArgs e)
{
}
public void ActiveToolChanged(IEditTool newTool)
{
}
public ILayerEditor EditorLayer
{
get
{
throw new Exception("The method or operation is not implemented.");
}
set
{
throw new Exception("The method or operation is not implemented.");
}
}
public virtual ISnapStrategy Snap(ILayerEditor sourceEditorLayer, IGeometry snapSource, ICoordinate worldPos, IEnvelope Envelope)
{
return null;
}
public bool IsEditing
{
get { return false; }
}
#endregion
}
}