Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ve-dev] Are factory methods supported by Visual Editor?


At this time VE will only deal with a static assignments, e.g.,  ULCLabel l = ComponentFactory.createLabel(), where createLabel() is a static method.  This is since the Parse Tree can be evaluated, as is, on the target VM.

We plan to add generic method invocation with https://bugs.eclipse.org/bugs/show_bug.cgi?id=49432


------------
Dr. Gili Mendel
IBM
Software Development
RTP Raleigh, NC
(919)543 6408, tie: 441 6408



"Janak Mulani" <janak.mulani@xxxxxxxxx>
Sent by: ve-dev-bounces@xxxxxxxxxxx

09/20/2005 08:14 AM

Please respond to
Discussions people developing code for the Visual Editor project

To
"ve-Dev@Eclipse. Org" <ve-dev@xxxxxxxxxxx>
cc
Subject
[ve-dev] Are factory methods supported by Visual Editor?





Hello,

Is it possible to specify factory methods instead of
constructors for the code generation part of VE?

I.e. what I want to get generated is the following:
   ComponentFactory.createLabel()
instead of
   new ULCLabel()

Thanks and regards,

Janak
_______________________________________________
ve-dev mailing list
ve-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ve-dev


Back to the top