Package pyanaconda :: Package iw :: Module partition_gui :: Class PartitionWindow
[hide private]
[frames] | no frames]

Class PartitionWindow

source code

iw_gui.InstallWindow --+
                       |
                      PartitionWindow

Instance Methods [hide private]
 
__init__(self, ics) source code
 
quit(self) source code
 
presentPartitioningComments(self, title, labelstr1, labelstr2, comments, type="ok", custom_buttons=None) source code
 
getNext(self) source code
 
getPrev(self) source code
 
addDevice(self, device, treeiter) source code
 
populate(self, initial=0) source code
 
barviewActivateCB(self)
Should be called when we double click on a slice
source code
 
treeActivateCB(self, *args) source code
 
treeSelectCB(self, selection, *args) source code
 
deleteCB(self, widget)
Right now we can say that if the device is partitioned we want to delete all of the devices it contains.
source code
 
createCB(self, *args) source code
 
resetCB(self, *args) source code
 
refresh(self, justRedraw=None) source code
 
editCB(self, *args) source code
 
editRaidArray(self, raiddev, isNew=False) source code
 
editPartition(self, device, isNew=False, restrictfs=None) source code
 
editLVMVolumeGroup(self, device, isNew=False) source code
 
editLVMLogicalVolume(self, lv=None, vg=None)
Will be consistent with the state of things and use this funciton for creating and editing LVs.
source code
 
getScreen(self, anaconda) source code

Inherited from iw_gui.InstallWindow: fixUp, focus, getICS, renderCallback

Class Variables [hide private]

Inherited from iw_gui.InstallWindow: windowTitle

Method Details [hide private]

__init__(self, ics)
(Constructor)

source code 
Overrides: iw_gui.InstallWindow.__init__

getNext(self)

source code 
Overrides: iw_gui.InstallWindow.getNext

getPrev(self)

source code 
Overrides: iw_gui.InstallWindow.getPrev

deleteCB(self, widget)

source code 

Right now we can say that if the device is partitioned we want to delete all of the devices it contains. At some point we will want to support creation and removal of partitionable devices. This will need some work when that time comes.

editLVMLogicalVolume(self, lv=None, vg=None)

source code 
Will be consistent with the state of things and use this funciton
for creating and editing LVs.

lv -- the logical volume to edit.  If this is set there is no need
      for the other two arguments.
vg -- the volume group where the new lv is going to be created. This
      will only be relevant when we are createing an LV.

getScreen(self, anaconda)

source code 
Overrides: iw_gui.InstallWindow.getScreen