g-Eclipse
Release 1.0.0

eu.geclipse.ui.wizards
Class VoSelectionWizardPage

java.lang.Object
  extended by WizardPage
      extended by eu.geclipse.ui.wizards.VoSelectionWizardPage
All Implemented Interfaces:
IGridModelListener, java.util.EventListener

public class VoSelectionWizardPage
extends WizardPage
implements IGridModelListener

A wizard page allowing to select a VO from the list of VOs registered in the VO manager. It also allows to edit the VOs on the fly by opening the VO preferences page.


Constructor Summary
VoSelectionWizardPage(boolean allowMultiSelection)
           
VoSelectionWizardPage(boolean allowMultiSelection, java.lang.Class<?> voType)
           
 
Method Summary
 void createControl(Composite parent)
           
 void dispose()
           
 IVirtualOrganization[] getSelectedVos()
          Get the list of checked VOs
 void gridModelChanged(IGridModelEvent event)
          The method is called everytime a change in the model occurred and the event processing is active.
 void setSelectedVos(IGridElement[] vos)
          Select the given VOs by setting the checkboxes
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VoSelectionWizardPage

public VoSelectionWizardPage(boolean allowMultiSelection)

VoSelectionWizardPage

public VoSelectionWizardPage(boolean allowMultiSelection,
                             java.lang.Class<?> voType)
Method Detail

createControl

public void createControl(Composite parent)

gridModelChanged

public void gridModelChanged(IGridModelEvent event)
Description copied from interface: IGridModelListener
The method is called everytime a change in the model occurred and the event processing is active.

Specified by:
gridModelChanged in interface IGridModelListener
Parameters:
event - The event that occurred in the model.

dispose

public void dispose()

getSelectedVos

public IVirtualOrganization[] getSelectedVos()
Get the list of checked VOs

Returns:
the array of VOs checked in the viewer

setSelectedVos

public void setSelectedVos(IGridElement[] vos)
Select the given VOs by setting the checkboxes

Parameters:
vos - an array of VOs to check on the viewer

g-Eclipse
Release 1.0.0