vtkSlicerModulesWizardDialog.h

Go to the documentation of this file.
00001 #ifndef __vtkSlicerModulesWizardDialog_h
00002 #define __vtkSlicerModulesWizardDialog_h
00003 
00004 #include "vtkKWWizardDialog.h"
00005 
00006 #include <string>
00007 
00008 class vtkSlicerModulesConfigurationStep;
00009 class vtkSlicerModulesStep;
00010 class vtkSlicerModulesResultStep;
00011 
00014 //BTX
00015 class ManifestEntry
00016 {
00017 public:
00018   std::string Name;
00019   std::string Version;
00020   std::string URL;
00021   std::string Homepage;
00022   std::string Category;
00023   std::string ExtensionStatus;
00024   std::string Description;
00025   std::string Revision;
00026 };
00027 //ETX
00028 
00029 class vtkSlicerModulesWizardDialog : public vtkKWWizardDialog
00030 {
00031 public:
00032   static vtkSlicerModulesWizardDialog* New();
00033   vtkTypeRevisionMacro(vtkSlicerModulesWizardDialog,vtkKWWizardDialog);
00034   
00037   virtual void OK();
00038 
00041   vtkGetObjectMacro(ModulesConfigurationStep, vtkSlicerModulesConfigurationStep);
00042   vtkGetObjectMacro(ModulesStep, vtkSlicerModulesStep);
00043   vtkGetObjectMacro(ModulesResultStep, vtkSlicerModulesResultStep);
00044 
00047   //BTX
00048   std::string GetSelectedRepositoryURL() { return this->SelectedRepositoryURL; };
00049   void SetSelectedRepositoryURL(const std::string& url) { this->SelectedRepositoryURL = url; };
00050   //ETX
00051 
00052 protected:
00053   vtkSlicerModulesWizardDialog();
00054   ~vtkSlicerModulesWizardDialog() {};
00055 
00058   virtual void CreateWidget();
00059 
00062   vtkSlicerModulesConfigurationStep *ModulesConfigurationStep;
00063   vtkSlicerModulesStep *ModulesStep;
00064   vtkSlicerModulesResultStep *ModulesResultStep;
00065 
00066   //BTX
00067   std::string SelectedRepositoryURL;
00068   //ETX
00069 
00070 private:
00071   vtkSlicerModulesWizardDialog(const vtkSlicerModulesWizardDialog&); 
00072   void operator=(const vtkSlicerModulesWizardDialog&); 
00073 };
00074 
00075 #endif

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1