Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » FormEditor and detect if page is active.
FormEditor and detect if page is active. [message #204310] Wed, 11 April 2007 09:43 Go to next message
Nicholas Loulloudes is currently offline Nicholas LoulloudesFriend
Messages: 54
Registered: July 2009
Location: Cyprus
Member

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 09:37 Go to previous messageGo to next message
Nicholas Loulloudes is currently offline Nicholas LoulloudesFriend
Messages: 54
Registered: July 2009
Location: Cyprus
Member

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 16:50 Go to previous messageGo to next message
Steve Blass is currently offline Steve BlassFriend
Messages: 276
Registered: July 2009
Senior Member
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 07:45 Go to previous message
Nicholas Loulloudes is currently offline Nicholas LoulloudesFriend
Messages: 54
Registered: July 2009
Location: Cyprus
Member

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: Thu Apr 25 21:27:22 GMT 2024

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

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

Back to the top