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 13: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: Wed Apr 16 06:52:46 EDT 2014

Powered by FUDForum. Page generated in 0.02181 seconds