Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Requirements Modeling Framework  » Enumeration data type
Enumeration data type [message #1720008] Wed, 13 January 2016 17:15 Go to next message
Max Russell is currently offline Max RussellFriend
Messages: 39
Registered: May 2015
Member
Can the enumeration data type be used with a spec type, in order to provide a list of items, from which one can be selected?

Using the example of a priority field:
Must
Should
Could
Won't
Re: Enumeration data type [message #1720120 is a reply to message #1720008] Thu, 14 January 2016 14:52 Go to previous messageGo to next message
Michael Jastram is currently offline Michael JastramFriend
Messages: 235
Registered: April 2010
Location: Düsseldorf, Germany
Senior Member
Hello Max,

Yes, this is possible. You need to create an Enumeration DatatypeDefinition and assign it to the AttributeDefinition of the SpecType

Also described in the Handbook: http://formalmind.com/handbook?page=sec-datatype_configuration.html

Best,

- Michael
Re: Enumeration data type [message #1720704 is a reply to message #1720120] Wed, 20 January 2016 11:20 Go to previous messageGo to next message
Max Russell is currently offline Max RussellFriend
Messages: 39
Registered: May 2015
Member
Yes, thanks - worked it out from those instructions. Question - is there any kind of multi-select enumerable available? I wish to have a field that allows me to select multiple entries for a requirement (specifically if a requirement can be traced back to more than one customer)
Re: Enumeration data type [message #1720743 is a reply to message #1720704] Wed, 20 January 2016 15:43 Go to previous message
Michael Jastram is currently offline Michael JastramFriend
Messages: 235
Registered: April 2010
Location: Düsseldorf, Germany
Senior Member
Hello Max,

> is there any kind of multi-select enumerable available?

Yes, in the AttributeDefinition: select the Attribute in the SpecType and you find the property "Multi Valued". This is kind of unintuitive, but that's how ReqIF is structured.

Best,

- Michael
Previous Topic:Image support?
Next Topic:JavaFX issues with the XHTML editor
Goto Forum:
  


Current Time: Thu Apr 25 07:37:02 GMT 2024

Powered by FUDForum. Page generated in 0.03335 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top