awltech / org.parallelj.studio

ParallelJ-Studio is a part of the ParallelJ project corresponding to the Eclipse plug-ins part. It contains the graphical editor, but also the code generator and the ParallelJ metamodel. More information can be found on our website: http://www.parallelj.org
http://www.parallelj.org
3 stars 2 forks source link

Making the Data's icon change depending on its iterable nature #10

Closed aneveux closed 13 years ago

aneveux commented 13 years ago

We would like to add the following feature to the Data:

1/ Initially, the Data's icon is set to the typical Data.png one.

2/ Whenever the User sets the Data's type, we would like to check whether the type is an iterable one, meaning it is a subclass of the java.util.Collection interface (or the interface itself)

Should it be the case, then the icon should be set to the Data_iterable.png one.

(As previously mentionned in the following issue) http://www.parallelj.org/jira/browse/STUDIO-69

Otherwise, the icon should be set to the typical Data.png one. Especially when the type is set back to null.

3/ The mentionned Data_iterable.png icon shall be committed soonly by AWL.

Kindly proceed with this task.

aneveux commented 13 years ago

Actually done in 0.7.x.