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 bool IsInteractive( ) cpPlugins_OVERRIDE;
29 virtual void EnabledOn( );
30 virtual void EnabledOff( );
31 virtual void Clear( ) = 0;
32 virtual void SetEnabled( bool v ) = 0;
33 virtual bool GetEnabled( ) const = 0;
40 // Purposely not implemented
41 Widget( const Self& );
42 Self& operator=( const Self& );
49 #endif // __cpPlugins__BaseObjects__Widget__h__