invalid feature Component/bounds [message #612193] |
Mon, 27 February 2006 22:18 |
Andy Arhelger 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
|
|
|
Powered by
FUDForum. Page generated in 0.03011 seconds