public interface LangsProvider
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<java.lang.String> |
getLangs()
The ordered list of preferred languages.
|
void |
setLangs(java.util.Collection<java.lang.String> newCol)
Sets the set of languages (replaces current set of labels) .
|
void |
showNewLangsAddedMessage()
an application that implements LangsProvider is informed about new
languages added to the languages lists by the labels provider.
|
java.util.Iterator<java.lang.String> getLangs()
Note, this method does not considers the languages in resources of the loaded DTS. For that list there is a method in the DTSContainer
void setLangs(java.util.Collection<java.lang.String> newCol)
newCol
- the new langsvoid showNewLangsAddedMessage()
The LabelsProvider requires a LangsProvider during the creation. that LangsProvider is informed about new languages when the labels database is build.
Applications should show a message to the user or call the LabelsProviderUI.showNewLangsAddedMessage() method that shows an standard message.
.NET api can use a different UI for the same purpose
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa