Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » invalid feature Component/bounds
invalid feature Component/bounds [message #612193] Mon, 27 February 2006 22:18
Andy Arhelger is currently offline Andy ArhelgerFriend
Messages: 62
Registered: July 2009
Member
I have a plugin that I am trying to convert from VE 1.0 to 1.1. As I am
initializing bean proxies I get an IllegalArgumentException "The feature
"bounds" is not a valid feature" during the useComponentSize call in
this method of ComponentProxyAdapter. The 1.0 didn't have the
postInstantiateStuff method so I don't know what to do or change.



private void postInstantiateStuff(IExpression expression, IProxy newbean) {
getComponentManager().setComponentBeanProxy(newbean, expression,
getModelChangeController());
if (ffHost != null) {
// Now finish the instantiation on the freeform.
try {
// try {
// .. do freeform stuff ..
expression.createTry();
ffProxy = ffHost.add(this, newbean, expression);

// Set the initial use component size.
ffProxy.useComponentSize(newbean,
getEObject().eIsSet(sfComponentBounds) ||
getEObject().eIsSet(sfComponentSize), expression);

Andy Arhelger
Previous Topic:Snippet223
Next Topic:How to fetch VE and build from command line?
Goto Forum:
  


Current Time: Thu Apr 25 22:34:22 GMT 2024

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

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

Back to the top