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 #902630] Thu, 16 August 2012 17:55
Arthur Fücher is currently offline Arthur Fücher
Messages: 59
Registered: August 2012
Member
Ok..

I saw the source code and the default value and the return if it not found the script, shouldn't be true? Actually is false, but if it don't find it return false, and the canDelete() return false without verify the other conditions...

And how can I make de restriction, I don't understand what you say...
It's worng this:
<parameter name="canDelete"><![CDATA[
isComponentType(object.getParent(),"com.test.fw.wb.mvc.core.VerticalBox")]]>
</parameter>
Previous Topic:Re: How add restriction to delete a component
Next Topic:Re: How add restriction to delete a component
Goto Forum:
  


Current Time: Sun Sep 21 18:25:36 GMT 2014

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

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