Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331153 - [api] task attribute type of for HTML text
Summary: [api] task attribute type of for HTML text
Status: CLOSED MOVED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-25 14:56 EST by David Green CLA
Modified: 2011-01-04 14:35 EST (History)
1 user (show)

See Also:


Attachments
a patch that provides LONG_HTML_TEXT as an attribute type (2.88 KB, patch)
2010-11-25 15:00 EST, David Green CLA
no flags Details | Diff
mylyn/context/zip (6.52 KB, application/octet-stream)
2010-11-25 15:00 EST, David Green CLA
no flags Details
add META_ATTRIBUTE_MIME_TYPE to TaskAttribute (1.30 KB, patch)
2010-12-02 16:57 EST, David Green CLA
no flags Details | Diff
mylyn/context/zip (15.18 KB, application/octet-stream)
2010-12-02 16:57 EST, David Green CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Green CLA 2010-11-25 14:56:26 EST
@TaskAttribute.TYPE_LONG_HTML_TEXT@  should be available for identifying task attributes that can use HTML markup
Comment 1 David Green CLA 2010-11-25 15:00:35 EST
Created attachment 183881 [details]
a patch that provides LONG_HTML_TEXT as an attribute type

Steffen, please review the attached patch.  The patch adds @LONG_HTML_TEXT@ and uses the long text editor by default (until the HTML text stuff is integrated)
Comment 2 David Green CLA 2010-11-25 15:00:37 EST
Created attachment 183882 [details]
mylyn/context/zip
Comment 3 Steffen Pingel CLA 2010-11-25 17:15:53 EST
Have you considered adding a meta data attribute that describes the mime-type instead? We would potentially end up with a lot of attribute types, e.g. for Confluence, TracWiki etc.
Comment 4 David Green CLA 2010-12-02 16:57:57 EST
Created attachment 184415 [details]
add META_ATTRIBUTE_MIME_TYPE to TaskAttribute

Great idea Steffen.  How about something like this?
Comment 5 David Green CLA 2010-12-02 16:57:59 EST
Created attachment 184416 [details]
mylyn/context/zip
Comment 6 Steffen Pingel CLA 2010-12-09 19:13:58 EST
Thanks. That makes sense to me but seem very useful unless it's actually used by the framework?
Comment 7 David Green CLA 2010-12-10 14:02:57 EST
(In reply to comment #6)
> Thanks. That makes sense to me but seem very useful unless it's actually used by
> the framework?

This is groundwork for future support by the framework.  Take for example the upcoming Html editor contribution to Mylyn Docs.  Also it's useful for connectors to be able to be more expressive about attribute metadata.  A real use case is for the Tasktop for VS plug-in to know which attributes are HTML without having to run a connector UI plug-in.
Comment 8 Steffen Pingel CLA 2010-12-10 14:37:58 EST
I understand but adding this as API implies that setting the content type will have an effect whereas the framework does not actually support this, yet. In order to apply this patch we would to make use of it within the framework, e.g. using WikiText.
Comment 9 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn