getI18NString("a.b.c");
getString("a.b.c");
| DiagramUIMessages.a_b_c
* If the string you want is no longer available
here (I cleaned up a few that weren't used in the diagram layer), find
it in the messages.properties file and copy it to your plugin.
|
getImage(DiagramResourceManager.THE_IMAGE);
createImage(DiagramResourceManager.THE_IMAGE);
getImage(DiagramResourceManager.THE_IMAGE);
createImageDescriptor(DiagramResourceManager.THE_IMAGE);
| Use org.eclipse.gmf.runtime.diagram.ui.l10n.SharedImages:
Only the following images are now public
(based on what was used in Aurora):
SharedImages.get(SharedImages.IMG_ERROR)
SharedImages.get(SharedImages.IMG_TEXT)
SharedImages.get(SharedImages.IMG_NOTE)
Only the following image descriptors are
now public (based on what was used in Aurora):
SharedImages.DESC_ERROR
SharedImages.DESC_TEXT
SharedImages.DESC_NOTE
SharedImages.DESC_NOTE_ATTACHMENT
If the image you want is not available, copy
the icon to your plugin and manage it yourself, or if you think it should
be available publicly in the diagram layer, let me know.
|
getFont()
| Now internal. No external clients that
I am aware of.
|
getColor(x)
| org.eclipse.gmf.runtime.diagram.ui.l10n.DiagramColorRegistry.getColor(x) |