Salome HOME
Merge branch 'BR_internationalization'
[modules/shaper.git] / src / ModelAPI / ModelAPI_Events.h
index 656ec109aeddf4735c8351b0d597ca0ec761cbbb..93a8870b0b717b2c4eaa7bf5f66450d18a6796f0 100644 (file)
@@ -37,7 +37,7 @@ static const char * EVENT_OBJECT_TO_REDISPLAY = "ObjectsToRedisplay";
 /// Event ID that visualization must be redisplayed (comes with ModelAPI_ObjectUpdatedMessage)
 static const char * EVENT_OPERATION_LAUNCHED = "OperationLaunched";
 /// Event ID that plugin is loaded (comes with ModelAPI_ObjectUpdatedMessage)
-static const char * EVENT_PLUGIN_LOADED = "PliginLoaded";
+static const char * EVENT_PLUGIN_LOADED = "PluginLoaded";
 //
 static const char * EVENT_DOCUMENT_CHANGED = "CurrentDocumentChanged";
 
@@ -48,6 +48,9 @@ static const char * EVENT_FEATURE_STATE_RESPONSE = "FeatureStateResponse";
 static const char * EVENT_UPDATE_VIEWER_BLOCKED = "UpdateViewerBlocked";
 static const char * EVENT_UPDATE_VIEWER_UNBLOCKED = "UpdateViewerUnblocked";
 
+static const char * EVENT_EMPTY_AIS_PRESENTATION = "EmptyAISPresentation";
+static const char * EVENT_EMPTY_OPERATION_PRESENTATION = "EmptyOperationPresentation";
+
 static const char * EVENT_PREVIEW_BLOCKED = "PreviewBlocked";
 static const char * EVENT_PREVIEW_REQUESTED = "PreviewRequested";
 
@@ -308,11 +311,13 @@ class ModelAPI_ReplaceParameterMessage : public Events_Message
   MODELAPI_EXPORT void setObject(ObjectPtr theObject);
 };
 
-
+/// Message that sends the sketch solver and sketcher GUI processes to show in the property panel
 class ModelAPI_SolverFailedMessage : public Events_Message
 {
 public:
+  /// Creates an message
   MODELAPI_EXPORT ModelAPI_SolverFailedMessage(const Events_ID theID, const void* theSender = 0);
+  /// Default destructor
   MODELAPI_EXPORT virtual ~ModelAPI_SolverFailedMessage();
 
   /// Sets list of conflicting constraints