Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [riena-dev] Disable navigation view

Hi Christian,

thank you for all the information and your attention. Hope we meet again on the next EclipseCon.

Best regards/mit freundlichen Grüssen/Saludos cordiales/Pozdrowienia

Marcin Gryszko

On Thu, Sep 10, 2009 at 6:38 PM, Christian Campo <christian.campo@xxxxxxxxxxxx> wrote:

Am 10.09.2009 um 18:22 schrieb Marcin Gryszko:
Hi Marcin,

Hi Christian,

we had a first look at Riena and what seems to be very attractive for us is the easy way to customize look-and-feel of the application.

Regarding the MVC implementation - we have already developed our own 'framework' for separating SWT widgets and JFace components from the component logic (controller). Riena seems to achieve this by using interfaces for event handling. A controller in Riena doesn't have any dependency on a SWT widget, and therefore it is possible to check the logic using normal JUnit tests. Am I right?
Yes its possible to test the controller separate from the view. We are currently working on making that even easier. You can also use a thing called shared views where you only have one instance of the SWT view but multiple instances of the controller. The controller has no reference to the SWT Widgets but only to Ridgets which are bound and rebound to the widgets on the SWT View when that view is activated.
Ridgets not only abstract from SWT and JFace but they also making databinding easier in the sense that it requires less code to write. One of the goals of Riena is to reduce the boiler plate code that write again and again in your logic.


Beyond the RCP - do you support authorization of submodules and modules? Can I disable a part of view programmatically (e. g. a button) depending on role? In plain Eclipse RCP it is a quite tedious work using activities and expressions.
We have a concept called UIFilters which can be used exactly for that. However they require that you use the navigation view. Then you can hide submodules (=views) or whole modules, fields, menu items, toolbar items or add validation rules dependending i.e. on authorization permissions. You can specify multiple UI Filters and you can remove them in any order. UIFilters can be used for authorization but also to reuse a view in a particular workflow with stronger rules.


Best regards/mit freundlichen Grüssen/Saludos cordiales/Pozdrowienia

Marcin Gryszko

christian

On Thu, Sep 10, 2009 at 5:01 PM, Christian Campo <christian.campo@xxxxxxxxxxxx> wrote:
There is a sample in the Riena called "org.eclipse.riena.sample.app.client.rcpmail" with the launcher "Mail Sample (RCP UI)". It shows how to get an RCP UI and still use the ridgets.

You talk about what you dont want to use. I am not sure what you WANT to use. Is it ridgets, is it the separation of controller and view. Its obviously not the navigation concept which we believe make Riena clients stand out.

So separation of controller and view is something that is either controlled and supported by Riena if you use the navigation tree. Then each node has a view and a controller associated and you get that separation for free. Since you dont want to use the navigation tree, you either have to put view and controller in one class, you still able to use Ridgets. Or you have create controller and view instances separatly by yourself as you can do in regular Riena.

So it would us to understand what parts of Riena you like to use beyond RCP and then I can give you an answer....

christian
Am 10.09.2009 um 16:36 schrieb Marcin Gryszko:

I'm evaluating Eclipse Riena for our customer project.

I don't want to use the navigation view and application tabs and disable them (i. e. not to display them) completely. Instead, all components would be accessed using the toolbar/main menu.

Is it possible in the current Riena version? If not, will it be possible in the next 1.2 release?

Best regards/mit freundlichen Grüssen/Saludos cordiales/Pozdrowienia

Marcin Gryszko
<ATT00001.c>

_______________________________________________
riena-dev mailing list
riena-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/riena-dev

<ATT00001.c>


_______________________________________________
riena-dev mailing list
riena-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/riena-dev



Back to the top