Salome HOME
Merge with PAL/SALOME 2.1.0d
[modules/kernel.git] / idl / SALOMEDS_Attributes.idl
index 42310794f5ebe1a2a86636773e9c7c86c370f459..80afd5603f13bc71423e054829d2875302ccbcf5 100644 (file)
@@ -439,6 +439,36 @@ Sets the item to be selectable
     void   SetExpandable(in boolean value);
   };
 
+  //==========================================================================
+/*! \brief Flags Attribute.
+
+   This interface is intended for storing different object attributes that
+   have only two states (0 and 1).
+*/
+  //==========================================================================
+
+  interface AttributeFlags : GenericAttribute
+  {
+    long    GetFlags();
+    void    SetFlags( in long theFlags );
+
+    boolean Get( in long theFlag );
+    void    Set( in long theFlag, in boolean theValue );
+  };
+
+  //==========================================================================
+/*! \brief Graphic Attribute.
+   This class is intended for storing information about
+   graphic representation of objects in dirrent views
+*/
+  //==========================================================================
+
+  interface AttributeGraphic : GenericAttribute
+  {
+    void     SetVisibility( in long theViewId, in boolean theValue );
+    boolean  GetVisibility( in long theViewId );
+  };  
+
   //==========================================================================
 /*! \brief Opened flag Attribute.