0029674: Improvements in Inspector tool
[occt.git] / tools / TInspector / TInspector_Communicator.hxx
index ff59ecf..da88bb6 100644 (file)
@@ -86,10 +86,27 @@ public:
   Standard_EXPORT void SetSelected (const NCollection_List<Handle(Standard_Transient)>& theObjects)
     { myWindow->SetSelected (theObjects); }
 
+  //! Sets path to a directory for temporary plugin files
+  //! \param thePath a path
+  void SetTemporaryDirectory (const TCollection_AsciiString& thePath) { myWindow->SetTemporaryDirectory (thePath); }
+
+  //! Returns path to a directory for temporary plugin files
+  //! \return path
+  TCollection_AsciiString GetTemporaryDirectory() const { return myWindow->GetTemporaryDirectory(); }
+
   //! Change window visibility
   //! \param theVisible boolean state
   Standard_EXPORT virtual void SetVisible (const bool theVisible);
 
+  //! Change window position
+  //! \param theX X pixel position of top left corner of the window
+  //! \param theY Y pixel position
+  Standard_EXPORT virtual void Move (const int theXPosition, const int theYPosition);
+
+  //! Puts in the stream information about communicator
+  //! \param theStream stream for output
+  void Dump (Standard_OStream& theStream) const { return myWindow->Dump (theStream); }
+
 private:
 
   TInspector_Window* myWindow; //!< current window