Revision fd539f3b
Added by Patrick Plitzner almost 8 years ago
eu.etaxonomy.taxeditor.editor/OSGI-INF/l10n/messages.properties | ||
---|---|---|
42 | 42 |
DeleteTaxonBaseHandler_CONFIRM_DELETION=Confirm Deletion |
43 | 43 |
DeleteTaxonBaseHandler_ELEMENT_MUST_BE_SYNONYM_MISAPP_CONCEPT=Element has to be Synonym, Misapplication or Concept |
44 | 44 |
DeleteTaxonBaseHandler_REALLY_DELETE_TAXON=Are you sure you want to delete the selected taxon? |
45 |
|
|
46 |
DescriptiveViewPart_COLLAPSE_ALL=Collapse All |
|
47 |
DescriptiveViewPart_EXPAND_ALL=Expand All |
|
48 |
DescriptiveViewPart_FACTUAL_DATA=Factual Data |
|
49 |
DescriptiveViewPart_SHOW_ALL_DATA=Show all factual data |
eu.etaxonomy.taxeditor.editor/OSGI-INF/l10n/messages_de.properties | ||
---|---|---|
42 | 42 |
DeleteTaxonBaseHandler_CONFIRM_DELETION=L?schen best?tigen |
43 | 43 |
DeleteTaxonBaseHandler_ELEMENT_MUST_BE_SYNONYM_MISAPP_CONCEPT=Element muss Synonym, Misapplication oder Konzept sein |
44 | 44 |
DeleteTaxonBaseHandler_REALLY_DELETE_TAXON=Wollen Sie wirklich das ausgew?hlte Taxon l?schen? |
45 |
|
|
46 |
DescriptiveViewPart_COLLAPSE_ALL=Alles einklappen |
|
47 |
DescriptiveViewPart_EXPAND_ALL=Alles ausklappen |
|
48 |
DescriptiveViewPart_FACTUAL_DATA=Faktendaten |
|
49 |
DescriptiveViewPart_SHOW_ALL_DATA=Zeige alle Faktendaten |
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/Messages.java | ||
---|---|---|
44 | 44 |
public static String DerivateView_YOU_NEED_TO_SAVE; |
45 | 45 |
public static String DerivateViewEditorInput_FAIL_INIT; |
46 | 46 |
public static String DerivateViewEditorInput_NO_ROOT; |
47 |
public static String MoveDerivateOperation_MOVE_NOT_POSSIBLE; |
|
47 |
public static String DescriptiveViewPart_COLLAPSE_ALL; |
|
48 |
public static String DescriptiveViewPart_EXPAND_ALL; |
|
49 |
public static String DescriptiveViewPart_FACTUAL_DATA; |
|
50 |
public static String DescriptiveViewPart_SHOW_ALL_DATA; |
|
51 |
public static String MoveDerivateOperation_MOVE_NOT_POSSIBLE; |
|
48 | 52 |
public static String MoveDerivateOperation_MOVE_TO_NOT_POSSIBLE; |
49 | 53 |
public static String OpenDerivateEditorForTaxonHandler_COULD_NOT_OPEN_EDITOR; |
50 | 54 |
public static String OpenDerivateEditorForTaxonHandler_FAILED_TO_OPEN; |
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/DescriptiveViewPart.java | ||
---|---|---|
45 | 45 |
import eu.etaxonomy.cdm.model.taxon.Taxon; |
46 | 46 |
import eu.etaxonomy.taxeditor.bulkeditor.BulkEditor; |
47 | 47 |
import eu.etaxonomy.taxeditor.editor.EditorUtil; |
48 |
import eu.etaxonomy.taxeditor.editor.Messages; |
|
48 | 49 |
import eu.etaxonomy.taxeditor.editor.view.checklist.ChecklistEditor; |
49 | 50 |
import eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView; |
50 | 51 |
import eu.etaxonomy.taxeditor.editor.view.media.MediaViewPart; |
... | ... | |
68 | 69 |
public class DescriptiveViewPart extends AbstractCdmEditorViewPart implements IPartContentHasDetails, IPartContentHasSupplementalData { |
69 | 70 |
|
70 | 71 |
/** Constant <code>ID="eu.etaxonomy.taxeditor.editor.view.desc"{trunked}</code> */ |
71 |
public static final String ID = "eu.etaxonomy.taxeditor.editor.view.descriptive"; |
|
72 |
public static final String ID = "eu.etaxonomy.taxeditor.editor.view.descriptive"; //$NON-NLS-1$
|
|
72 | 73 |
|
73 | 74 |
protected TreeViewer viewer; |
74 | 75 |
|
... | ... | |
197 | 198 |
} |
198 | 199 |
|
199 | 200 |
protected String getViewName(){ |
200 |
return "Factual Data";
|
|
201 |
return Messages.DescriptiveViewPart_FACTUAL_DATA;
|
|
201 | 202 |
} |
202 | 203 |
|
203 | 204 |
private String createPartTitle(Object selectedObject){ |
204 | 205 |
if(selectedObject!=null){ |
205 |
return getViewName()+": "+selectedObject; |
|
206 |
return getViewName()+": "+selectedObject; //$NON-NLS-1$
|
|
206 | 207 |
} |
207 | 208 |
return getViewName(); |
208 | 209 |
} |
... | ... | |
226 | 227 |
setImageDescriptor(new ImageDescriptor() { |
227 | 228 |
@Override |
228 | 229 |
public ImageData getImageData() { |
229 |
setText(expanded ? "Collapse All" : "Expand All");
|
|
230 |
setText(expanded ? Messages.DescriptiveViewPart_COLLAPSE_ALL : Messages.DescriptiveViewPart_EXPAND_ALL);
|
|
230 | 231 |
String resource = expanded ? ImageResources.COLLAPSE_ALL : ImageResources.EXPAND_ALL; |
231 | 232 |
return ImageResources.getImage(resource).getImageData(); |
232 | 233 |
} |
233 | 234 |
}); |
234 | 235 |
|
235 |
String toolTipText = expanded ? "Collapse all" : "Show all factual data";
|
|
236 |
String toolTipText = expanded ? Messages.DescriptiveViewPart_COLLAPSE_ALL : Messages.DescriptiveViewPart_SHOW_ALL_DATA;
|
|
236 | 237 |
setToolTipText(toolTipText); |
237 | 238 |
} |
238 | 239 |
|
Also available in: Unified diff
i18n for factual data view