Home » Modeling » GMF (Graphical Modeling Framework) » Replacing DiagramContributionItemProvider
Replacing DiagramContributionItemProvider [message #185961] |
Fri, 09 May 2008 09:52 |
Eclipse User |
|
|
|
Originally posted by: Ajay.kemparaj.in.bosch.com
Hello All,
i have written a class(CustomisedDiagramContributionItemProvider)
similar to DiagramContributionItemProvider i have specified the
CustomisedDiagramContributionItemProvider class in the plugin.xml instead
of DiagramContributionItemProvider ,The
CustomisedDiagramContributionItemProvider is not called at all the control
goes to DiagramContributionItemProvider
how to specify my own DiagramContributionItemProvider ?
Thanks,
Ajay
|
|
| | |
Re: Replacing DiagramContributionItemProvider [message #186657 is a reply to message #186172] |
Tue, 13 May 2008 14:03 |
Eclipse User |
|
|
|
Originally posted by: ajay.kemparaj.in.bosch.com
Linda,
i changed the priorites and it still calls the
DiagramContributionItemProvider
Am i missing anything out here
Regards,
Ajay K
Ajay wrote:
> Linda,
> i changed the Priority to highest ,it Still didn't work
> Regards,
> Ajay K
Linda,
i changed the Priority to highest ,it Still didn't work Regards,
Ajay K
Ajay,
The ContributionItemService uses ExecutionStrategy.REVERSE, which means in
consults all of the providers, from lowest to highest priority. Did you
give your provider a higher priority than the
DiagramContributionItemProvider?
Regards,
Linda
Ajay wrote:
Hello All,
i have written a
class(CustomisedDiagramContributionItemProvider) similar to
DiagramContributionItemProvider i have specified the
CustomisedDiagramContributionItemProvider class in the plugin.xml instead
of DiagramContributionItemProvider ,The
CustomisedDiagramContributionItemProvider is not called at all the control
goes to DiagramContributionItemProvider
how to specify my own DiagramContributionItemProvider ?
Thanks,
Ajay
|
|
|
Re: Replacing DiagramContributionItemProvider [message #196042 is a reply to message #186657] |
Tue, 08 July 2008 09:12 |
Eclipse User |
|
|
|
Originally posted by: janiko.gmx.de
Hi, i have exactly the same problem. This is very confusion. May its the
version, i work with the old 1.0.3 version. Can anyone help us?
Regards,
Tony
Ajay schrieb:
> Linda,
>
> i changed the priorites and it still calls the
> DiagramContributionItemProvider Am i missing anything out here
>
>
> Regards,
> Ajay K
>
>
> Ajay wrote:
>
>> Linda,
>
>> i changed the Priority to highest ,it Still didn't work
>
>
>
>> Regards,
>> Ajay K
>
>
> Linda,
>
> i changed the Priority to highest ,it Still didn't work Regards,
> Ajay K
>
> Ajay,
>
> The ContributionItemService uses ExecutionStrategy.REVERSE, which means
> in consults all of the providers, from lowest to highest priority. Did
> you give your provider a higher priority than the
> DiagramContributionItemProvider?
>
> Regards,
> Linda
>
>
> Ajay wrote:
>
> Hello All,
> i have written a
> class(CustomisedDiagramContributionItemProvider) similar to
> DiagramContributionItemProvider i have specified the
> CustomisedDiagramContributionItemProvider class in the plugin.xml
> instead of DiagramContributionItemProvider ,The
> CustomisedDiagramContributionItemProvider is not called at all the
> control goes to DiagramContributionItemProvider
> how to specify my own DiagramContributionItemProvider ?
>
>
>
> Thanks,
> Ajay
>
|
|
|
Goto Forum:
Current Time: Fri Apr 19 11:24:24 GMT 2024
Powered by FUDForum. Page generated in 0.01284 seconds
|