... there are some details that you need to take into consideration
when you add a an element to the model depending of where is it added
to (a child of someone, vs. FreeForm... which constraints to use,
given a particular layout etc.).
VE determine "how" to add a child to the model with edit policies.
Put a break point in
org.eclipse.ve.internal.jfc.core.NullLayoutEditPolicy.getCreateCommand()
(on helper.getCreateChildCommand(child, nullconst, null);) , and try
to add a component to a jPanel with null layout.
------------
Dr. Gili Mendel
IBM
Software Development
RTP Raleigh, NC
(919)543 6408, tie: 441 6408
*Ali Ikinci <aikinci@xxxxxxxxxxxxxxxxxxxxx>*
Sent by: ve-dev-bounces@xxxxxxxxxxx
07/28/2005 07:55 AM
Please respond to
Discussions people developing code for the Visual Editor project
To
Discussions people developing code for the Visual Editor project
<ve-dev@xxxxxxxxxxx>
cc
Subject
Re: [ve-dev] Creating Clone of JPanel
I don't know how to insert an instance of MyJPanel into the VE model.
Dr Gili Mendel schrieb:
>
> By default VE will generate a MyJPanel instance variable name/code if
> you insert an instance of MyJPanel into the VE model.
> Can you provide a snippet of code describing what do you want
> generated as a response to what,
>
>
>
> ------------
> Dr. Gili Mendel
> IBM
> Software Development
> RTP Raleigh, NC
> (919)543 6408, tie: 441 6408
>
>
>
> *Ali Ikinci <aikinci@xxxxxxxxxxxxxxxxxxxxx>*
> Sent by: ve-dev-bounces@xxxxxxxxxxx
>
> 07/27/2005 07:01 AM
> Please respond to
> Discussions people developing code for the Visual Editor project
>
>
>
> To
> ve-dev@xxxxxxxxxxx
> cc
>
> Subject
> [ve-dev] Creating Clone of JPanel
>
>
>
>
>
>
>
>
>
> Hi,
> like mentioned before, I'm writing an Extension to VE. But before I can
> do further adaption, I only want the following to go on.
>
> I need MyJPanel which should be exactly the same thing as JPanel, same
> funcionality , same implementation. The only difference should be that
> it's name would be MyJPanel instead of JPanel. I need to do this to
> figure out some things.
>
> Thank you very much
>
> Ali Ikinci
>
> _______________________________________________
> ve-dev mailing list
> ve-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ve-dev
>
>------------------------------------------------------------------------
>
>_______________________________________________
>ve-dev mailing list
>ve-dev@xxxxxxxxxxx
>https://dev.eclipse.org/mailman/listinfo/ve-dev
>
>
_______________________________________________
ve-dev mailing list
ve-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ve-dev
------------------------------------------------------------------------
_______________________________________________
ve-dev mailing list
ve-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ve-dev