String key = flags + "enabled";
Image image = registry.get(key);
if (image == null) {
registry.put(
key,
new ScriptDebugImageDescriptor(DebugUITools
.getImageDescriptor(IDebugUIConstants.IMG_OBJS_BREAKPOINT), flags));
return registry.get(key);
}
return image;
} else {
String key = flags + "disabled";
Image image = registry.get(key);
if (image == null) {
registry.put(
key,
new ScriptDebugImageDescriptor(DebugUITools
.getImageDescriptor(IDebugUIConstants.IMG_OBJS_BREAKPOINT_DISABLED),
flags));
return registry.get(key);
}
return image;