Revision 42504 trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/project/documents/view/legend/gui/ThemeManagerWindow.java
ThemeManagerWindow.java | ||
---|---|---|
90 | 90 |
try { |
91 | 91 |
return this.getPage((FLayer) obj); |
92 | 92 |
} catch (Exception ex) { |
93 |
logger.warn("Can't create the page '"+this.pageClass+"' asociated to '"+obj+"'.",ex);
|
|
93 |
logger.warn("Can't create the page '" + this.pageClass + "' asociated to '" + obj + "'.", ex);
|
|
94 | 94 |
return null; |
95 | 95 |
} |
96 | 96 |
} |
... | ... | |
125 | 125 |
} |
126 | 126 |
} |
127 | 127 |
|
128 |
; |
|
129 |
|
|
130 |
public static boolean isTabEnabledForLayer(AbstractThemeManagerPage page, FLayer layer) { |
|
128 |
public static boolean isTabEnabledForLayer(AbstractThemeManagerPage page, FLayer layer) { |
|
131 | 129 |
try { |
132 | 130 |
return s.get(page.getClass()).contains(layer.getClass()); |
133 | 131 |
} catch (Exception ex) { |
... | ... | |
136 | 134 |
} |
137 | 135 |
|
138 | 136 |
} |
139 |
|
|
140 |
|
Also available in: Unified diff