Community
Participate
Working Groups
Opening the component.xml generated by the new DS template, the outline view displays what looks like a toString() value for the overview page. Other PDE editors have icons and more readable text.
I'm trying to fix this now but don't have CVS access from the meeting. Here is what needs to be done.
public Image getImage(Object obj) { if (obj instanceof IDSObject) { return getObjectImage((IDSObject) obj); } // TODO consider changing this if (obj instanceof IFormPage) return PDEPlugin.getDefault().getLabelProvider().get( PDEPluginImages.DESC_PAGE_OBJ); return super.getImage(obj); } public String getText(Object obj) { if (obj instanceof IDSObject) { return getObjectText((IDSObject) obj); } if (obj instanceof IFormPage) return ((IFormPage) obj).getTitle(); return super.getText(obj); }
I recommend putting this patch in for M2 if you can Curtis. I won't have access to CVS (stupid firewalls)
oh, we basically just need to be cognizant of the IFormPage in the label provider
Created attachment 112793 [details] Patch It appears that I do not have commit rights to the DS tooling bundles, might have to wait until M3 :)
Rafael, if you have been given commit rights and have the time, please commit the patch.
I'll have time this evening before the last build.
done. > 20080917
Created attachment 112847 [details] mylyn/context/zip