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

Studying feasibility of adding generics-capable content assist to the Data type field #13

Open aneveux opened 13 years ago

aneveux commented 13 years ago

We would like to study the feasibility of adding a content assist to the Data type field which is displayed in the Properties View.

The main purpose of this assist would be to help the User fill the type of Data manually, by offering "assisted" choices according to what he has already entered.

The User would have to hit Ctrl + space to trigger the content assist, while writting in the Data type field. Also, the content assist would trigger whenever the User enters a dot '.' The user may validate a choice by hitting enter or double-clicking. You may take the "Activator" field content assist of the plugin Overview tab offered by Eclipse as a simplistic model to achieve this feature.

Furthermore, we would like to introduce the generics support to this content assist. The featured generics would have to be assisted as well, and also to comply with the generics requirements of the main class. This "generics compliance check" would be triggered after the user enters a '<' past the main class ex: java.util.ArrayList<(here only classes that are specified by the ArrayList class are offered by the content assist)>

A quick search of mine has raised the following pages which might be useful dealing with Eclipse content assist capabilities: http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/editors_contentassist.htm http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/jface_fieldassist.htm However, I don't know if these enter the required generics part of the content assist.

We are aware that this asked analysis may result in ratifying that the task is to tedious to achieve within a reasonnable time frame.

Kindly proceed with this and tell us about your progress.

According to the results of your analysis, we shall eventually make our decision about the future of this feature.