Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-integrators] What's the mapping for attachment attributes?

Hi Maarten,

Any attributes in your task data objects that are not marked as hidden are automatically displayed in the attributes section. So what is displayed there is up to you connetor. You can use an attribute factory to define which attributes are hidden and which are read only.

Below are some more mappings:
- creator => USER_REPORTER
- assignee => USER_ASSIGNED
- Summary (title) -> SUMMARY
- creation date -> DATE_CREATION
- modified date -> DATE_MODIFIED

Note that COMMENT_NEW is used to store a newly entered but yet unsubmitted comment. This willl pop up in the attributes section unless you hide it.

hth,
Dennis

Maarten Meijer wrote:
What attribute goes into what columns in the attribute section of a task editor?
Headings are:
- Name == RepositoryTaskAttribute.ATTACHMENT_TYPE == getContentType();
- Decription == ??? == getDescription()
- Type == RepositoryTaskAttribute.ATTACHMENT_CTYPE
- Size == RepositoryTaskAttribute.ATTACHMENT_SIZE
- Creator == ???
- Created == RepositoryTaskAttribute.ATTACHMENT_DATE

ITaskAttachment gives:
public String getContentType();
public String getDescription();
public String getFilename();
public long getLength();
public boolean isPatch();


Maarten
------------------------------------------------------------------------

_______________________________________________
mylyn-integrators mailing list
mylyn-integrators@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mylyn-integrators



Back to the top