00001 /*========================================================================= 00002 00003 Module: $RCSfile: vtkPVListBoxToListBoxSelectionEditor.h,v $ 00004 00005 Copyright (c) Kitware, Inc. 00006 All rights reserved. 00007 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00008 00009 This software is distributed WITHOUT ANY WARRANTY; without even 00010 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00011 PURPOSE. See the above copyright notice for more information. 00012 00013 =========================================================================*/ 00025 #ifndef __vtkPVListBoxToListBoxSelectionEditor_h 00026 #define __vtkPVListBoxToListBoxSelectionEditor_h 00027 00028 #include "vtkKWListBoxToListBoxSelectionEditor.h" 00029 00030 00031 class vtkStringList; 00032 00033 class VTK_EXPORT vtkPVListBoxToListBoxSelectionEditor : 00034 public vtkKWListBoxToListBoxSelectionEditor 00035 { 00036 public: 00037 static vtkPVListBoxToListBoxSelectionEditor* New(); 00038 vtkTypeRevisionMacro(vtkPVListBoxToListBoxSelectionEditor, 00039 vtkKWListBoxToListBoxSelectionEditor); 00040 void PrintSelf(ostream& os, vtkIndent indent); 00041 00046 void SetSourceList(vtkStringList* list, int force = 0); 00047 00052 void SetFinalList(vtkStringList* list, int force = 0); 00053 00054 protected: 00055 vtkPVListBoxToListBoxSelectionEditor(); 00056 ~vtkPVListBoxToListBoxSelectionEditor(); 00057 00058 // Internal method. 00059 void SetList(vtkStringList* list, vtkKWListBox* toAdd, 00060 vtkKWListBox* toComp, int force); 00061 00063 virtual void MoveWholeList(vtkKWListBox* l1, vtkKWListBox* l2); 00064 00065 private: 00066 vtkPVListBoxToListBoxSelectionEditor(const vtkPVListBoxToListBoxSelectionEditor&); // Not implemented. 00067 void operator=(const vtkPVListBoxToListBoxSelectionEditor&); // Not implemented. 00068 }; 00069 00070 #endif