Logo Search packages:      
Sourcecode: ooeclipseintegration version File versions  Download package

ImageDescriptor org::openoffice::ide::eclipse::core::i18n::ImageManager::getImageDescriptor ( String  key  )  [inline]

Method which returns the image descriptor corresponding to the provided key.

key Key corresponding to the image to find
image descriptor corresponding to the key, or null if the key doesn't exists or the bundle is null

Definition at line 134 of file ImageManager.java.

References mImageBundle.

Referenced by getImage(), and org::openoffice::ide::eclipse::core::OOEclipsePlugin::getImageDescriptor().

            ImageDescriptor imageDescr = null;
            if (null != mImageBundle){
                  // Fetch the plugin relative path from the bundle
                  String path = mImageBundle.getString(key);
                  imageDescr = AbstractUIPlugin.imageDescriptorFromPlugin(
            return imageDescr;

Generated by  Doxygen 1.6.0   Back to index