Skip to main content



      Home
Home » Newcomers » Newcomers » FormEditor and detect if page is active.
FormEditor and detect if page is active. [message #204310] Wed, 11 April 2007 05:43 Go to next message
Eclipse UserFriend
Hello,

I have currently create a Multi-Page Form Editor. My editor extends
FormEditor and each page of the editor extends FormPage.

Is there any way i can detect in each FormPage whether, the specific page
has been clicked(selected)?

I don't want to do this in the FormEditor but in the FormPage.

Thank you in advance.

- Nicholas
Re: FormEditor and detect if page is active. [message #204477 is a reply to message #204310] Thu, 12 April 2007 05:37 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Any suggestions on the above?
Re: FormEditor and detect if page is active. [message #204550 is a reply to message #204477] Thu, 12 April 2007 12:50 Go to previous messageGo to next message
Eclipse UserFriend
Nicholas Loulloudes wrote:
> Hi,
>
> Any suggestions on the above?
>

Try having the pages implement IPartListener and take a look at the
required methods Quick-Fix will generate for you.
partOpened() or partActivated() or partBroughtToTop() may give you the
hook you want. Stepping through with the debugger should help figure
out which is the best candidate for the providing the information you want.

-
Steve
Re: FormEditor and detect if page is active. [message #204743 is a reply to message #204550] Fri, 13 April 2007 03:45 Go to previous message
Eclipse UserFriend
I have tried the IPartListener but it works only for the FormEditor..

I haven't found any way that it actually works for the FormPages...

Any other suggestions??
Previous Topic:Installing Visual editor
Next Topic:FormPage and FocusListener ??
Goto Forum:
  


Current Time: Mon Jun 02 16:12:35 EDT 2025

Powered by FUDForum. Page generated in 0.07211 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top