Hello Sebastian,
Thanks for your answer.
I found a similar solution to include only the optional class i need like
this:
qx.Class.define("myClass",
{
extend : qx.ui.pageview.tabview.Page,
include : qx.event.handler.DragAndDropHandler,
(....)
Sebastian Werner wrote:
>
> Hi Cornelia,
>
> The generator supports pre-compiler like directives to add optional
> classes. Just insert a JavaScript comment like the following to the
> class which needs the DragAndDrop feature:
>
> /*
> #use(qx.event.handler.DragAndDropHandler)
> */
>
> Please do not indent the line. The "#" needs to be the first character
> of the line.
>
> Hope this helps.
>
> Regards,
>
> Sebastian
>
>
>
> Cornelia Florina Munteanu schrieb:
>> Hello!
>> I need to use a Tree that allows drag and drop on self just like in
>> demo/test/Tree_5.html
>> I have copy-pasted the example into my application.js and when i make
>> source/build, qooxdoo doesn't load the class
>> */qx/event/handler/DragAndDropHandler.js *but says something like "The
>> following classes may be usefull: DragAndDropEventHandler..". Because of
>> this, when i load the application in browser the Tree does not allow
>> drag and drop.
>> I temporarily fixed this problem by modifying in *application.mk *the
>> following code:
>>
>> #
>> # Whether all JavaScript files of only the files needed by the
>> application
>> # should be included into the build version of the program.
>> #
>> ifndef APPLICATION_COMPLETE_BUILD
>> APPLICATION_COMPLETE_BUILD = *false*
>> endif
>>
>> where i set variable APPLICATION_COMPLETE_BUILD to *true*.
>> This solved my problem but now all classes are loaded, even those i
>> don't need; and it takes a lot of time to make source/build.
>>
>> Is there a way to include only this class DragAndDropEventHandler?
>>
>> Thanks,
>> Cornelia Florina Munteanu
>>
>>
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
--
View this message in context:
http://www.nabble.com/DragAndDropEventHandler-build-problem-tp16033513p16048025.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel