Eclipse JFace Wizard jump to next page programatically -
i created jface wizard showing single list user supposed make selection. since page contains list, enable double click selection. if user performs double click on single event, wizard should jump next page.
i got following code far:
viewer.adddoubleclicklistener(new idoubleclicklistener() { @override public void doubleclick(doubleclickevent event) { istructuredselection selection = (istructuredselection) event.getselection(); if (selection.getfirstelement() instanceof file) { if(canfliptonextpage()) { //perform jump next page here. } } } });
apparently there no method programmatic execution of next button. thank you.
you first need reference wizard page want go. if don't have through other means, can find wizard pages via api:
getwizard().getpages()
next, make following call:
getcontainer().showpage( desiredpage )
Comments
Post a Comment