Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Adding a SelectionListener to a TabFolder confuses VE parser
Adding a SelectionListener to a TabFolder confuses VE parser [message #109652] Sun, 16 October 2005 16:25 Go to next message
José Freire is currently offline José FreireFriend
Messages: 18
Registered: July 2009
Junior Member
Hi all!

Could anyone please confirm this? Should I open a bug?

1) Create a composite
2) Drag a TabFolder to the composite
3) Right-click the TabFolder, select events, and add a widgetSelected event
4) Close the window
5) Open the window, you'll get a
org.eclipse.ve.internal.java.core.EventMethodTreeEditPart and VE stops
working.

The only workaround I found was to move the event code
(addSelectionListener) out of createPartControl.

I'm using:
VE 1.1.0.1
Eclipse 3.1.1/gtk
Linux (Fedora Core 4)

Thanks!

Re: Adding a SelectionListener to a TabFolder confuses VE parser [message #109672 is a reply to message #109652] Mon, 17 October 2005 18:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Could you please append the .log file. We to need know exactly where it
occurs.

You said move it out of createPartControl. Is your TabFolder being added
within a ViewPart? That is the only place we recognize createPartControl.

Jose Freire wrote:
> Hi all!
>
> Could anyone please confirm this? Should I open a bug?
>
> 1) Create a composite
> 2) Drag a TabFolder to the composite
> 3) Right-click the TabFolder, select events, and add a widgetSelected event
> 4) Close the window
> 5) Open the window, you'll get a
> org.eclipse.ve.internal.java.core.EventMethodTreeEditPart and VE stops
> working.
>
> The only workaround I found was to move the event code
> (addSelectionListener) out of createPartControl.
>
> I'm using:
> VE 1.1.0.1
> Eclipse 3.1.1/gtk
> Linux (Fedora Core 4)
>
> Thanks!
>
> Zé

--
Thanks,
Rich Kulp
Re: Adding a SelectionListener to a TabFolder confuses VE parser [message #109719 is a reply to message #109672] Mon, 17 October 2005 18:13 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

This is a bug. Please open a bugzilla against project VE subcomponent SWT.

--
Thanks,
Rich Kulp
Re: Adding a SelectionListener to a TabFolder confuses VE parser [message #611206 is a reply to message #109652] Mon, 17 October 2005 18:08 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Could you please append the .log file. We to need know exactly where it
occurs.

You said move it out of createPartControl. Is your TabFolder being added
within a ViewPart? That is the only place we recognize createPartControl.

Jose Freire wrote:
> Hi all!
>
> Could anyone please confirm this? Should I open a bug?
>
> 1) Create a composite
> 2) Drag a TabFolder to the composite
> 3) Right-click the TabFolder, select events, and add a widgetSelected event
> 4) Close the window
> 5) Open the window, you'll get a
> org.eclipse.ve.internal.java.core.EventMethodTreeEditPart and VE stops
> working.
>
> The only workaround I found was to move the event code
> (addSelectionListener) out of createPartControl.
>
> I'm using:
> VE 1.1.0.1
> Eclipse 3.1.1/gtk
> Linux (Fedora Core 4)
>
> Thanks!
>
> Zé

--
Thanks,
Rich Kulp
Re: Adding a SelectionListener to a TabFolder confuses VE parser [message #611207 is a reply to message #109672] Mon, 17 October 2005 18:13 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

This is a bug. Please open a bugzilla against project VE subcomponent SWT.

--
Thanks,
Rich Kulp
Previous Topic:EclipseCon 2006 VE extending tutorial question
Next Topic:list of field name property
Goto Forum:
  


Current Time: Sat Apr 20 06:06:39 GMT 2024

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

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

Back to the top