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: 26289
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
Previous Topic: Invalid diagram root element is selected
Next Topic:Collapsible Label
Goto Forum:
  


Current Time: Mon Dec 22 18:29:01 GMT 2014

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

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