Revision 9096
trunk/frameworks/_fwAndami/src/com/iver/andami/Launcher.java | ||
---|---|---|
362 | 362 |
*/ |
363 | 363 |
private static Theme getTheme() { |
364 | 364 |
Theme theme=new Theme(); |
365 |
File file=new File("theme/andami-theme.xml"); |
|
366 |
if (file.exists()) { |
|
365 |
String name=PluginServices.getArgumentByName("andamiTheme"); |
|
366 |
//File file=new File("theme/andami-theme.xml"); |
|
367 |
File file=new File(name); |
|
368 |
if (file.exists()) { |
|
367 | 369 |
theme.readTheme(file); |
368 | 370 |
} |
369 | 371 |
return theme; |
... | ... | |
2110 | 2112 |
public static void setAppHomeDir(String appHomeDir) { |
2111 | 2113 |
Launcher.appHomeDir = appHomeDir; |
2112 | 2114 |
} |
2113 |
|
|
2115 |
|
|
2114 | 2116 |
/** |
2115 | 2117 |
* Initialize the extesion that have to take the control |
2116 | 2118 |
* of the state of action controls of the UI of all extensions. |
2117 | 2119 |
* <br> |
2118 | 2120 |
* <br> |
2119 |
* For use this option you have to add an argument
|
|
2121 |
* For use this option you have to add an argument |
|
2120 | 2122 |
* to the command line like this: |
2121 | 2123 |
* <br> |
2122 | 2124 |
* <br> |
... | ... | |
2127 | 2129 |
*/ |
2128 | 2130 |
private static void initializeExclusiveUIExtension(){ |
2129 | 2131 |
String name = PluginServices.getArgumentByName("exclusiveUI"); |
2130 |
if (name == null)
|
|
2132 |
if (name == null) |
|
2131 | 2133 |
return; |
2132 |
|
|
2133 |
|
|
2134 |
|
|
2135 |
|
|
2134 | 2136 |
Iterator iter = classesExtensions.keySet().iterator(); |
2135 | 2137 |
int charIndex; |
2136 | 2138 |
Class key; |
... | ... | |
2146 | 2148 |
break; |
2147 | 2149 |
} |
2148 | 2150 |
} |
2149 |
|
|
2151 |
|
|
2150 | 2152 |
logger.error(Messages.getString("No_se_encontro_la_extension_especificada_en_el_parametro_exclusiveUI") + " '" + name +"'"); |
2151 | 2153 |
} |
2152 | 2154 |
} |
Also available in: Unified diff