1 #ifndef __cpPlugins__BaseObjects__Widget__h__
2 #define __cpPlugins__BaseObjects__Widget__h__
4 #include <cpPlugins/BaseObjects/ProcessObject.h>
6 // -------------------------------------------------------------------------
13 class cpPlugins_EXPORT Widget
14 : public ProcessObject
18 typedef ProcessObject Superclass;
19 typedef itk::SmartPointer< Self > Pointer;
20 typedef itk::SmartPointer< const Self > ConstPointer;
23 itkTypeMacro( Widget, ProcessObject );
24 cpPlugins_Id_Macro( Widget, Object );
27 virtual itk::ModifiedTimeType GetMTime( ) const cpPlugins_OVERRIDE;
29 virtual bool IsInteractive( ) cpPlugins_OVERRIDE;
31 virtual void EnabledOn( );
32 virtual void EnabledOff( );
33 virtual void Clear( ) = 0;
34 virtual void SetEnabled( bool v ) = 0;
35 virtual bool GetEnabled( ) const = 0;
42 // Purposely not implemented
43 Widget( const Self& );
44 Self& operator=( const Self& );
51 #endif // __cpPlugins__BaseObjects__Widget__h__