#ifndef __cpPlugins__BaseObjects__Widget__h__ #define __cpPlugins__BaseObjects__Widget__h__ #include // ------------------------------------------------------------------------- namespace cpPlugins { namespace BaseObjects { /** */ class cpPlugins_EXPORT Widget : public ProcessObject { public: typedef Widget Self; typedef ProcessObject Superclass; typedef itk::SmartPointer< Self > Pointer; typedef itk::SmartPointer< const Self > ConstPointer; public: itkTypeMacro( Widget, ProcessObject ); cpPlugins_Id_Macro( Widget, Object ); public: virtual bool IsInteractive( ) cpPlugins_OVERRIDE; virtual void EnabledOn( ); virtual void EnabledOff( ); virtual void Clear( ) = 0; virtual void SetEnabled( bool v ) = 0; virtual bool GetEnabled( ) const = 0; protected: Widget( ); virtual ~Widget( ); private: // Purposely not implemented Widget( const Self& ); Self& operator=( const Self& ); }; } // ecapseman } // ecapseman #endif // __cpPlugins__BaseObjects__Widget__h__ // eof - $RCSfile$