It's all about the answers!

Ask a question

How to get enumeration values without using work item attribute

Olivier CRIDLIG (52610) | asked Jul 18 '13, 12:55 p.m.

I created a custom enumeration.

I would display in the follow-up action a drop-down list containing the values ​​of this enumeration.

How can I do this without using a work item attribute to find these values ? 
I want use directly the enumeration.

The RTC server version is



One answer

permanent link
sam detweiler (12.5k6189201) | answered Jul 18 '13, 1:50 p.m.
see the IEnumerationClient (and thus some matching service) in the 4.0.1 javadoc.[] resolveEnumerations(IProjectAreaHandle projectArea,
                                                                                    org.eclipse.core.runtime.IProgressMonitor monitor)
                                                                                    throws TeamRepositoryException
Resolves all persisted enumerations of the provided project area.

projectArea - the project area to find persisted enumerations in.
persisted enumerations of the provided project area.
TeamRepositoryException - in case of an error.

Your answer

Register or to post your answer.