Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Replacing DiagramContributionItemProvider
Replacing DiagramContributionItemProvider [message #185961] Fri, 09 May 2008 09:52 Go to next message
Eclipse UserFriend
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 #186038 is a reply to message #185961] Fri, 09 May 2008 12:45 Go to previous messageGo to next message
Linda Damus is currently offline Linda DamusFriend
Messages: 85
Registered: July 2009
Member
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 #186172 is a reply to message #186038] Sun, 11 May 2008 10:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ajay.kemparaj.in.bosch.com

Linda,

i changed the Priority to highest ,it Still didn't work



Regards,
Ajay K
Re: Replacing DiagramContributionItemProvider [message #186657 is a reply to message #186172] Tue, 13 May 2008 14:03 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:Automatic father creation
Next Topic:One diagram per file with an unsynchronized model
Goto Forum:
  


Current Time: Mon May 25 06:06:03 GMT 2020

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

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

Back to the top