|
|
|
|
|
|
|
Re: VE questions - .override files [message #103194 is a reply to message #103177] |
Tue, 23 August 2005 20:03 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
Slight typos:
>
> Why is your Button.override in the folder
> /overrides/org/eclipse/swt/widgets ? This would normally be reserved
> for classes in the package org.eclipse.swt.widgets. If your custom
> widget you're trying to customize is called com.mystuff.foo then it
> should be in the folder
>
--- MY_PLUGIN_HOME/overrides/com/mystuff/foo/MyOwnClass
>
> Also be sure to have the extension point declaring your override folder.
> Basically what occurs is that some trigger in the build path is
> detected and then for a given package an override folder is used. Look
> in jfc and swt ve plugins for how they work and the basic idea is
>
> <extension
> point="org.eclipse.jem.beaninfo.registrations">
> <registration
> plugin="com.mystuff">
> <override
> package="com.mystuff.foo"
> path="overrides/com/mystuff/foo">
> </override>
>
> In this case if the user of your plugin adds com.mystuff to the build
> path (that contains your runtime) then your .override files for classs
> in the package com.mystuff.foo should be in the folder
--- /overrides/com/mystuff/foo.
>
> Best regards,
>
> Joe Winchester
--
Thanks,
Rich Kulp
|
|
|
|
|
|
|
|
|
|
|
|
Re: VE questions - .override files [message #610360 is a reply to message #103177] |
Tue, 23 August 2005 20:03 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
Slight typos:
>
> Why is your Button.override in the folder
> /overrides/org/eclipse/swt/widgets ? This would normally be reserved
> for classes in the package org.eclipse.swt.widgets. If your custom
> widget you're trying to customize is called com.mystuff.foo then it
> should be in the folder
>
--- MY_PLUGIN_HOME/overrides/com/mystuff/foo/MyOwnClass
>
> Also be sure to have the extension point declaring your override folder.
> Basically what occurs is that some trigger in the build path is
> detected and then for a given package an override folder is used. Look
> in jfc and swt ve plugins for how they work and the basic idea is
>
> <extension
> point="org.eclipse.jem.beaninfo.registrations">
> <registration
> plugin="com.mystuff">
> <override
> package="com.mystuff.foo"
> path="overrides/com/mystuff/foo">
> </override>
>
> In this case if the user of your plugin adds com.mystuff to the build
> path (that contains your runtime) then your .override files for classs
> in the package com.mystuff.foo should be in the folder
--- /overrides/com/mystuff/foo.
>
> Best regards,
>
> Joe Winchester
--
Thanks,
Rich Kulp
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03085 seconds