[Gvsig_english] IconThemeManager and AndamiOptions

Neumann, Tobias tobias.neumann at berner-mattner.com
Wed Apr 13 07:49:28 CEST 2011

Hi Juan,

my workflow is just like you say, but AndamiOptions is still null. I think my andami-config.xml is insufficient, but I have not changed it since the installation. Is there another easy way to set an iconTheme as current iconTheme? I do understand the code in that way that a current iconTheme is necessary to initialize a MapOverViewListener.

Best wishes from munich

-----Ursprüngliche Nachricht-----
Von: gvsig_internacional-bounces at listserv.gva.es im Auftrag von Juan Lucas Dominguez Rubio
Gesendet: Di 12.04.2011 17:16
An: Users and Developers mailing list; gvsig_internacional at listserv.gva.es
Betreff: Re: [Gvsig_english] IconThemeManager and AndamiOptions
I have not investigated it a lot, but you can try to call Launcher.main with the arguments:
String[] args = new String[2];
args[0] = "gvSIG";
args[1] = "";
Launcher will look for a the file:
So you can try that after installing gvSIG or after creating a gvSIG folder and copy andami-config.xml in it.
Juan Lucas Domínguez Rubio
Prodevelop SL, Valencia (España)
Tlf.: 96.351.06.12 -- Fax: 96.351.09.68
http://www.prodevelop.es <http://www.prodevelop.es/> 


De: gvsig_internacional-bounces at listserv.gva.es en nombre de Neumann, Tobias
Enviado el: mar 12/04/2011 16:03
Para: gvsig_internacional at listserv.gva.es
Asunto: [Gvsig_english] IconThemeManager and AndamiOptions


I am trying to initialize the IconThemeManager but I cannot get an IIconTheme from the AndamiConfig (AndamiOptions is null). I need a theme to instantiate a MapOverViewListener. If the no IconTheme can be found, the instantiation failes (MapOverViewListener: Line 77). Can someone please give me a hint what could be wrong?. When I try to start com.iver.andami.Launcher.java the AndamiOptions are null, too.

With best regards

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3819 bytes
Desc: not available
Url : http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20110413/71a7755f/attachment.bin 

More information about the Gvsig_internacional mailing list