public void insertBefore ( final IWizardElement _element ) { int i = 0 ; for ( final IWizardElement uiObject : this . elements ) { if ( uiObject == this . current ) { this . elements . add ( i , _element ) ; break ; } i ++ ; } }
Insert a UIObject before the current one .