Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[nebula-dev] ModelPicker control to pick a model (ex: an instance of Person), are you interested?

Hi Nebula Team,

I would like know if you could be interested with our ModelPicker that we are using in our RCP/RAP Application http://xdocreport-rap.opensagres.cloudbees.net/xdocreport?startup=fr.opensagres.xdocreport.eclipse.ui.application
to pick a model instance (Go to the Project Module -> Search Project -> select a project and open it, you will see Client field which uses ModelPicker). The attached RAPModelPicker.png shouws you a screen about the ModelPicker used in our RAP application.

I think this kind control can be useful in a business application to pick a model (ex:a person). The client field which uses ModelPicker in our demo is a well sample. We could use a Combo with list of the client for the client field but we have used ModelPicker because client records can grow a lot. ModelPicker gives you several features:

 * EmptyClient.png : when none model is selected, the link "Client" which is used to open the editor of the selected client is disabled. The Browse button is used to force the open of the client completion.
*  ClientDontExist.png: you can type name of the client in the field on  the left of this textfield, error icon is displayed, because client doens't exist.
 *ClientCompletionAfterCtrlSpace.png : you can do Ctrl+Space or click on Browse button  to open popup completion.
* SelectedClient.png : the client is selected, the error disapears and you can click on the link to open to the editor client (or another thing if you wish).
* ClientOpen.png : you can see that Browse button is a dropdown. The idea is to link several kind of search  like "Open" to open popup completion, "Search" to open custom search dialog, etc.

What do you think about this ModelPicker control? If you like it I will clean my code and change it with Nebula package.

Thank for your answer.

Regards Angelo

Attachment: RAPModelPicker.png
Description: PNG image

Attachment: EmptyClient.png
Description: PNG image

Attachment: ClientDontExist.png
Description: PNG image

Attachment: ClientCompletionAfterCtrlSpace.png
Description: PNG image

Attachment: SelectedClient.png
Description: PNG image

Attachment: ClientOpen.png
Description: PNG image


Back to the top