Salome HOME
lot 15:: protection against corrupted polylines/objects
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Operations.h
1 // Copyright (C) 2014-2015  EDF-R&D
2 // This library is free software; you can redistribute it and/or
3 // modify it under the terms of the GNU Lesser General Public
4 // License as published by the Free Software Foundation; either
5 // version 2.1 of the License, or (at your option) any later version.
6 //
7 // This library is distributed in the hope that it will be useful,
8 // but WITHOUT ANY WARRANTY; without even the implied warranty of
9 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
10 // Lesser General Public License for more details.
11 //
12 // You should have received a copy of the GNU Lesser General Public
13 // License along with this library; if not, write to the Free Software
14 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
15 //
16 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
17 //
18
19 #ifndef HYDROGUI_OPERATIONS_H
20 #define HYDROGUI_OPERATIONS_H
21
22 enum OperationId
23 {
24   FirstId = 0,
25   
26   SaveVisualStateId,
27   LoadVisualStateId,
28   
29   UndoId,
30   RedoId,
31
32   CopyId,
33   PasteId,
34
35   UpdateObjectId,
36   ForcedUpdateObjectId,
37
38   ImportImageId,
39   EditImportedImageId,
40   ObserveImageId,
41   ExportImageId,
42   RemoveImageRefsId,
43
44   CreatePolylineId,
45   EditPolylineId,
46   
47   CreatePolyline3DId,
48   EditPolyline3DId,
49   
50   ImportProfilesId,
51   CreateProfileId,
52   EditProfileId,
53   AllGeoreferencementId,
54   SelectedGeoreferencementId,
55
56   ImportBathymetryId,
57   EditImportedBathymetryId,
58   BathymetryBoundsId,
59
60   CreateImmersibleZoneId,
61   EditImmersibleZoneId,
62
63   CreateStreamId,
64   EditStreamId,
65
66   CreateChannelId,
67   EditChannelId,
68
69   CreateDigueId,
70   EditDigueId,
71
72   CreateCalculationId,
73   EditCalculationId,
74   ExportCalculationId,
75   CompleteCalculationId,
76
77   FuseImagesId,
78   EditFusedImageId,
79
80   CutImagesId,
81   EditCutImageId,
82
83   SplitImageId,
84   EditSplitImageId,
85
86   ImportObstacleFromFileId,
87   ImportGeomObjectAsObstacleId,
88   ImportGeomObjectAsPolylineId,
89   CreateBoxId,
90   CreateCylinderId,
91   TranslateObstacleId,
92
93   CopyViewerPositionId,
94
95   DeleteId,
96
97   ShowId,
98   ShowOnlyId,
99   ShowAllId,
100   HideId,
101   HideAllId,
102
103   SetColorId,
104   SetTransparencyId,
105   SetZLevelId,
106   EditLocalCSId,
107
108   RiverBottomId,
109   RiverBottomContextId,
110   ProfileInterpolateId,
111
112   RecognizeContoursId,
113   SubmersibleId,
114   UnSubmersibleId,
115   ImportPolylineId,
116   ImportSinusXId,
117   ExportSinusXId,
118   ImportBCPolygonId, 
119   MeasurementToolId, 
120   
121   ExportToShapeFileID,
122   ImportLandCoverMapId,
123
124   ImportStricklerTableFromFileId,
125   ExportStricklerTableFromFileId,
126   EditStricklerTableId,
127   DuplicateStricklerTableId,
128
129   CreateLandCoverMapId,
130   
131   AddLandCoverId,
132   RemoveLandCoverId,
133   SplitLandCoverId,
134   MergeLandCoverId,
135   ChangeLandCoverTypeId,
136
137   PolylineExtractionId,
138   SplitPolylinesId,
139   MergePolylinesId,
140
141   ShowAttrPolylinesId,
142
143   LandCoverScalarMapModeOnId,
144   LandCoverScalarMapModeOffId,
145
146   BathymetrySelectionId,
147   BathymetryTextId,
148   BathymetryRescaleSelectionId,
149   BathymetryRescaleVisibleId,
150   BathymetryRescaleUserId,
151   BathymetryRescaleDefaultId,
152   RegenerateRegionColorsId,
153   ShowHideArrows,
154   ZoneSetColorId,
155   SetBoundaryTypePolygonId
156 };
157
158 #endif