Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ve-dev] JVE Model for ui composites




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



"Sibylle Peter" <sibylle.peter@xxxxxxxxx>
Sent by: ve-dev-admin@xxxxxxxxxxx

10/18/2004 10:23 AM

Please respond to
ve-dev

To
<ve-dev@xxxxxxxxxxx>
cc
Subject
[ve-dev] JVE Model for ui composites






We have a question given the following situation:

We have two visual components, ULCFrame and MyBox extending ULCBoxPane. In
MyBox we have various ULCComponents. (Similar to having a MyPanel class
extending JPanel and containing many components).

If we add MyBox to ULCFrame using chooseBeans then the original
ULCComponents of MyBox are not visible in the model (Similar to when the
MyPanel bean is added to JFrame).


>> yep

Is this the correct behavior of the model? How can we access the children of
MyBox when MyBox is contained in ULCFrame?


>> VE models the components you drop, not the composition of the components you drop.
>> A component may come from a .jar on the class path with no source, or source pattern for VE
>> to reverse parse from.  More over, VE edits the .java file you opened, and will not make changes
>> to other .java files.
>> If you want to "change" the customized MyBox, you will have to "open with VE" MyBox.java and make
>> your changes there.  These changes will be reflected within the classes that you edit and use MyBox.

We have a problem when we add an additional component to the instance of
MyBox that is contained within ULCFrame. To be able to get the correct
position of the newly added child we need to access all children of MyBox.


>> can you set up JavaBean properties on MyBox?  you will be able to control MyBox using these properties
>> from the VE model

Best regards

Sibylle and Janak


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


Back to the top