[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] Re: FormEditor how to setActivePage ??
|
- From: hisky1983@xxxxxxx (billy)
- Date: Mon, 21 Jul 2008 09:19:23 +0000 (UTC)
- Newsgroups: eclipse.platform.rcp
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
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.