[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: FormEditor how to setActivePage ??

Anis wrote:

hi,
i have problems with FormEditor. in fact i create a FormEditor with some pages.
when i call the setActivePage(page.id) it return null but my editor and the pages are shown. i even tried to use the singleton pattern with my FormEditor but even with this it does not works.

Thanks in advance
ebh


maybe you didn't set the page's info in plugin.xml. so it can't find page.

or you can try setActivePage(pageIndex), find page by the number of page.