Revision 38564 branches/v2_0_0_prep/extensions/extI18n/src/main/java/org/gvsig/i18n/extension/I18nExtension.java
I18nExtension.java | ||
---|---|---|
28 | 28 |
|
29 | 29 |
import org.gvsig.about.AboutManager; |
30 | 30 |
import org.gvsig.about.AboutParticipant; |
31 |
import org.gvsig.andami.IconThemeHelper; |
|
31 | 32 |
import org.gvsig.andami.plugins.Extension; |
32 | 33 |
import org.gvsig.app.ApplicationLocator; |
33 | 34 |
import org.gvsig.app.ApplicationManager; |
... | ... | |
47 | 48 |
} |
48 | 49 |
|
49 | 50 |
public void initialize() { |
51 |
IconThemeHelper.registerIcon("preferences", "i18n-preferences", this); |
|
52 |
|
|
50 | 53 |
// Replace the default locale Preferences page for the new one |
51 | 54 |
ToolsLocator.getExtensionPointManager() |
52 | 55 |
.add("AplicationPreferences", "").append("LanguagePage", "", |
... | ... | |
75 | 78 |
} |
76 | 79 |
|
77 | 80 |
public boolean isEnabled() { |
78 |
return true;
|
|
81 |
return false;
|
|
79 | 82 |
} |
80 | 83 |
|
81 | 84 |
public boolean isVisible() { |
82 |
return true;
|
|
85 |
return false;
|
|
83 | 86 |
} |
84 | 87 |
} |
Also available in: Unified diff