Hi Bodgan,

Two things which you could try :

Setting LayerManager.setFiringEvents(false)  during the tree construction

Or setting layer visibility to false before adding them to the LayerManager
and changing their visibility to true after the whole tree construction.

Let me know if it helps

Michaël

> Hi Bogdan,
>
> I guess nobody knows how to do that.
> But are this that many layers? (40+)
>
> Does it just look "ugly" to you, or what is the reason why you want to
> draw all at once?
>
> stefan
>
>
> Am 12.11.12 15:02, schrieb Bogdan Andronic:
>> Hi,
>>
>> I am developing a plugin that will programmatically load many layers.
>> The problem I face is that the layers are being added one by one and
>> this means that the tree is showing each layer added at one time. Is
>> there a posibilty for me to freeze the tree layer view when adding the
>> layers (it should not paint) and unfreezing it (repaint) after all the
>> layers are added? Some sort of setting redraw(false).
>>
>> Thank you!
>> Best regards,
>> Bogdan
>>
>>
>> ------------------------------------------------------------------------------
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_d2d_nov
>>
>>
>>
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to