Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to use constructor of xxxItemProvider.java in other class in GMF(How to use constructor of xxxItemProvider.java in other class in GMF)
How to use constructor of xxxItemProvider.java in other class in GMF [message #757652] Mon, 21 November 2011 06:40 Go to next message
vinny503 Missing name is currently offline vinny503 Missing nameFriend
Messages: 156
Registered: August 2011
Senior Member
Hi All,

As I want to create an object for the class xxxItemProvider.java, But I am not able to find which class is implementing the interface AdapterFactory. The constructor shown below


public xxxItemProvider(AdapterFactory adapterFactory)
{
super(adapterFactory);
}


Regards,
Vinay
Re: How to use constructor of xxxItemProvider.java in other class in GMF [message #757862 is a reply to message #757652] Mon, 21 November 2011 07:30 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Vinay,

There is a generated factory in the same package and normally you use
that factory to create an instance.


On 21/11/2011 7:40 AM, vinny503 wrote:
> Hi All,
>
> As I want to create an object for the class xxxItemProvider.java, But
> I am not able to find which class is implementing the interface
> AdapterFactory. The constructor shown below
>
>
> public xxxItemProvider(AdapterFactory adapterFactory)
> {
> super(adapterFactory);
> }
>
>
> Regards,
> Vinay


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic: Invalid diagram root element is selected
Next Topic:Collapsible Label
Goto Forum:
  


Current Time: Thu Apr 25 21:45:22 GMT 2024

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

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

Back to the top