Skip to main content



      Home
Home » Archived » Visual Editor (VE) » Override file is not processed
Override file is not processed [message #117319] Fri, 10 February 2006 03:58 Go to next message
Eclipse UserFriend
I have problem with the overriding files. I have created the .override
file for my class, but the .override file is not processed during the
execution of the plugin. (I have found this out when setting the
breakpoint in applyExtensionDocTo in BeaninfoClassAdapter class)

I my plugin I have set the extension point
<extension point="org.eclipse.jem.beaninfo.registrations">
and set the property
<override package="{packageWithMyClass}" path
"{pathCorrespondingOverride}">

Do you have any ideas what could be wrong?
Re: Override file is not processed [message #117344 is a reply to message #117319] Fri, 10 February 2006 10:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Please append the entire extension point instance exactly as you have
it. There isn't enough info in the fragment you appended.

Adam wrote:
> I have problem with the overriding files. I have created the .override
> file for my class, but the .override file is not processed during the
> execution of the plugin. (I have found this out when setting the
> breakpoint in applyExtensionDocTo in BeaninfoClassAdapter class)
>
> I my plugin I have set the extension point
> <extension point="org.eclipse.jem.beaninfo.registrations">
> and set the property
> <override package="{packageWithMyClass}" path
> "{pathCorrespondingOverride}">
>
> Do you have any ideas what could be wrong?

--
Thanks,
Rich Kulp
Re: Override file is not processed [message #117424 is a reply to message #117344] Mon, 13 February 2006 01:55 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for offering help, I have finally resolved it. The override was
not read because I have not included my class in the exported jar file
with other graphical components.

Nowadays I feel like an idiot not to find out this mistake earlier:)

I have still some problems with understanding of the VE framework, but
its getting better:).

Current problem is that I wonder why my cell editor gets the null input
parameter (value) in the method doSetValue(Object value).


Rich Kulp wrote:
> Please append the entire extension point instance exactly as you have
> it. There isn't enough info in the fragment you appended.
>
> Adam wrote:
>> I have problem with the overriding files. I have created the .override
>> file for my class, but the .override file is not processed during the
>> execution of the plugin. (I have found this out when setting the
>> breakpoint in applyExtensionDocTo in BeaninfoClassAdapter class)
>>
>> I my plugin I have set the extension point
>> <extension point="org.eclipse.jem.beaninfo.registrations">
>> and set the property
>> <override package="{packageWithMyClass}" path
>> "{pathCorrespondingOverride}">
>>
>> Do you have any ideas what could be wrong?
>
Re: Override file is not processed [message #117563 is a reply to message #117424] Mon, 13 February 2006 11:59 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Adam wrote:
> Thanks for offering help, I have finally resolved it. The override was
> not read because I have not included my class in the exported jar file
> with other graphical components.
>
> Nowadays I feel like an idiot not to find out this mistake earlier:)
>
> I have still some problems with understanding of the VE framework, but
> its getting better:).
>
> Current problem is that I wonder why my cell editor gets the null input
> parameter (value) in the method doSetValue(Object value).
>
>

You can get null at any time in a cell editor because the current value
of the property may be null. Or it couldn't be read for some reason.

How are you supplying the value to the cell editor? Are you using just a
standard bean property, or did you override either the property source
adapter to return the value differently than the default in the
getPropertyValue() method? Or did you override to create a special
IPropertyDescriptor that implements ISourcedPropertyDecorator to return
the value yourself in the getPropertyValue() method of the
ISourcedPropertyDecorator?

--
Thanks,
Rich Kulp
Re: Override file is not processed [message #612079 is a reply to message #117319] Fri, 10 February 2006 10:04 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Please append the entire extension point instance exactly as you have
it. There isn't enough info in the fragment you appended.

Adam wrote:
> I have problem with the overriding files. I have created the .override
> file for my class, but the .override file is not processed during the
> execution of the plugin. (I have found this out when setting the
> breakpoint in applyExtensionDocTo in BeaninfoClassAdapter class)
>
> I my plugin I have set the extension point
> <extension point="org.eclipse.jem.beaninfo.registrations">
> and set the property
> <override package="{packageWithMyClass}" path
> "{pathCorrespondingOverride}">
>
> Do you have any ideas what could be wrong?

--
Thanks,
Rich Kulp
Re: Override file is not processed [message #612085 is a reply to message #117344] Mon, 13 February 2006 01:55 Go to previous message
Eclipse UserFriend
Thanks for offering help, I have finally resolved it. The override was
not read because I have not included my class in the exported jar file
with other graphical components.

Nowadays I feel like an idiot not to find out this mistake earlier:)

I have still some problems with understanding of the VE framework, but
its getting better:).

Current problem is that I wonder why my cell editor gets the null input
parameter (value) in the method doSetValue(Object value).


Rich Kulp wrote:
> Please append the entire extension point instance exactly as you have
> it. There isn't enough info in the fragment you appended.
>
> Adam wrote:
>> I have problem with the overriding files. I have created the .override
>> file for my class, but the .override file is not processed during the
>> execution of the plugin. (I have found this out when setting the
>> breakpoint in applyExtensionDocTo in BeaninfoClassAdapter class)
>>
>> I my plugin I have set the extension point
>> <extension point="org.eclipse.jem.beaninfo.registrations">
>> and set the property
>> <override package="{packageWithMyClass}" path
>> "{pathCorrespondingOverride}">
>>
>> Do you have any ideas what could be wrong?
>
Re: Override file is not processed [message #612096 is a reply to message #117424] Mon, 13 February 2006 11:59 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Adam wrote:
> Thanks for offering help, I have finally resolved it. The override was
> not read because I have not included my class in the exported jar file
> with other graphical components.
>
> Nowadays I feel like an idiot not to find out this mistake earlier:)
>
> I have still some problems with understanding of the VE framework, but
> its getting better:).
>
> Current problem is that I wonder why my cell editor gets the null input
> parameter (value) in the method doSetValue(Object value).
>
>

You can get null at any time in a cell editor because the current value
of the property may be null. Or it couldn't be read for some reason.

How are you supplying the value to the cell editor? Are you using just a
standard bean property, or did you override either the property source
adapter to return the value differently than the default in the
getPropertyValue() method? Or did you override to create a special
IPropertyDescriptor that implements ISourcedPropertyDecorator to return
the value yourself in the getPropertyValue() method of the
ISourcedPropertyDecorator?

--
Thanks,
Rich Kulp
Previous Topic:how to change the name of a generated constraint bean
Next Topic:Parse Error
Goto Forum:
  


Current Time: Wed Jul 23 04:00:16 EDT 2025

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

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

Back to the top