public IWizardElement getPrevious ( ) { IWizardElement ret = null ; for ( final IWizardElement uiObject : this . elements ) { if ( uiObject == this . current ) { break ; } else { ret = uiObject ; } } this . current = ret ; return ret ; }
Method to get the previous object .