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 01:40 Go to next message
vinny503 Missing name is currently offline vinny503 Missing name
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 02:30 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25910
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: Tue Jul 22 17:36:04 EDT 2014

Powered by FUDForum. Page generated in 0.01515 seconds