Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » Re: How add restriction to delete a component
Re: How add restriction to delete a component [message #902628] Thu, 16 August 2012 16:51
Eclipse UserFriend
I implement this on *.wbp-component.xml
<parameter name="canDelete">isComponentType(object.getParent(),'com.test.fw.wb.mvc.core.VerticalBox')</parameter>

I saw that in the variable object, the script put the Info object, in org.eclipse.wb.internal.core.model.JavaInfoUtils.executeScript(JavaInfo, String)

Is wrong what I've done? Because always return false.

To understand, the object just can be deleted if it parent is a VerticalBox...
Previous Topic:Re: How add restriction to delete a component
Next Topic:Re: How add restriction to delete a component
Goto Forum:
  


Current Time: Tue Feb 11 03:19:37 GMT 2025

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

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

Back to the top