use of org.python.pydev.shared_ui.bundle.IBundleInfo in project Pydev by fabioz.
the class SharedUiPlugin method getImageCache.
/**
* @return the cache that should be used to access images within the pydev plugin.
*/
public static IImageCache getImageCache() {
if (imageCache == null) {
IBundleInfo bundleInfo = SharedUiPlugin.getBundleInfo();
if (bundleInfo == null) {
return null;
}
imageCache = bundleInfo.getImageCache();
}
return imageCache;
}
use of org.python.pydev.shared_ui.bundle.IBundleInfo in project Pydev by fabioz.
the class SharedUiPlugin method getBundleInfo.
public static IBundleInfo getBundleInfo() {
if (SharedUiPlugin.info == null) {
SharedUiPlugin bundle = SharedUiPlugin.getDefault();
if (bundle == null) {
return null;
}
SharedUiPlugin.info = new BundleInfo(bundle.getBundle());
}
return SharedUiPlugin.info;
}
Aggregations