Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » How can get a members's component list by lastModel?
How can get a members's component list by lastModel? [message #142614] Thu, 01 November 2007 11:00
Eclipse UserFriend
Originally posted by: caye5200.yahoo.com.cn

this members is Panel, its have 3 component , button, image, lable,
and its have a bounds property , these message ,how i can get by
Model?
<members xsi:type="com.ce_cube.parts.standard:CEPanel"
bounds="//@methods.0/@properties.0">
- <allocation
xsi:type="org.eclipse.jem.internal.instantiation:ParseTreeAllocation ">
<expression
xsi:type=" org.eclipse.jem.internal.instantiation:PTClassInstanceCreati on "
type="com.ce_cube.parts.standard.CEPanel" />
</allocation>
- <components component="//@members.0">
<constraint xsi:nil="true" />
</components>
- <components component="//@members.1">
<constraint xsi:nil="true" />
</components>
- <components component="//@members.2">
<constraint xsi:nil="true" />
</components>
</members>

BeanSubclassCompositionImpl beanSubclass= (BeanSubclassCompositionImpl)
lastModel;

EList annotations=lastModel.getAnnotations();

EList components=beanSubclass.getComponents();

EList members=beanSubclass.getMembers();

EList methods=beanSubclass.getMethods();
this components list can get thisPart components list only ,
not can get a members's components list
one members's components how can get?
Previous Topic:Radio Button Groups
Next Topic:How can get a members's component list by lastModel?
Goto Forum:
  


Current Time: Tue Dec 23 03:43:47 GMT 2014

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

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