Revision 5aeccadc
Added by Katja Luther over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/GrantedAuthoritySelectionDialog.java | ||
---|---|---|
64 | 64 |
model = new ArrayList<UuidAndTitleCache<GrantedAuthorityImpl>>(); |
65 | 65 |
|
66 | 66 |
for(GrantedAuthorityImpl authority : authorities){ |
67 |
|
|
67 |
|
|
68 | 68 |
model.add(new UuidAndTitleCache<GrantedAuthorityImpl>(GrantedAuthorityImpl.class, authority.getUuid(), authority.getId(), String.format("%s", GrantedAuthorityLabelTextProvider.getText(authority)))); |
69 | 69 |
} |
70 | 70 |
} |
... | ... | |
73 | 73 |
* @see eu.etaxonomy.taxeditor.ui.dialogs.filteredSelection.AbstractFilteredCdmResourceSelectionDialog#getNewWizardLinkText() |
74 | 74 |
*/ |
75 | 75 |
@Override |
76 |
protected String getNewWizardLinkText() {
|
|
77 |
return String.format("Create a new <a>%1s</a>", "GrantedAuthority ");
|
|
76 |
protected String[] getNewWizardText() {
|
|
77 |
return new String[]{"GrantedAuthority "};
|
|
78 | 78 |
} |
79 | 79 |
|
80 | 80 |
@Override |
Also available in: Unified diff
e4 migration of selection dialogs