Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Riena » Porting "legacy" RCP app
Porting "legacy" RCP app [message #19751] Thu, 29 January 2009 09:11 Go to next message
Thomas Kratz is currently offline Thomas Kratz
Messages: 163
Registered: July 2009
Senior Member
HI I made some hops to port my oldschool rcp to riena ui. Now one of the
first Problems I have is that my app works with editors. I tried to
enable the editorarea but that doesnt help. is there a chance to make
riena aware of the editor concept ?

I noticed that I dont see my view menu and the view toolbar is rendered
in the navigation area. Is there something I have to do to fix this ?

Where can I find something about branding the ui ? (Put my logo in it etc)

Regards Thomas
Re: Porting "legacy" RCP app [message #19822 is a reply to message #19751] Thu, 29 January 2009 11:16 Go to previous messageGo to next message
Thorsten Schenkel is currently offline Thorsten Schenkel
Messages: 15
Registered: July 2009
Junior Member
Hi,

UI branding in Riena is limited on the widget of the Riena navigation.
These widgets are used at the top (e.g. logo) and the left side of the
application. To define the look Riena uses Look&Feel and Themes (similar
to Swing). If you only want to change colors, images, fonts etc., you
must write your own theme. If you want to change the e.g. the shape of a
Riena navigation widgets, you must override existing renderers.
In the Wiki of Riena there is a Look&Feel documentation:
http://wiki.eclipse.org/Riena_Look_and_Feel
The default Riena Look&Feel is define in the two classes RienaDeaultLnf
and RienaDefaultTheme.
The sample application “org.eclipse.riena.example.client” has an
alternative look. The classes are: ExampleLnf and ExampleTheme

In Riena only the application has a menu and a tool bar.
In Riena we define the menu and tool bar of the application only with
the (new) extensions “org.eclipse.ui.commands”, “org.eclipse.ui.menus”
and “org.eclipse.ui.handlers“. And only for these items the framework
creates Ridgets (e.g. IMenuItemRidget, IToolItemRidget). In your
controller (SubApplicationController) you can get these Ridgets using
the method “getMenuActionRidget”/”getToolbarActionRidget”. You need
these Ridgets to modify the items (e.g. disable menu item).

I hope these answers will help you.

Regards
Thorsten


Thomas schrieb:
> HI I made some hops to port my oldschool rcp to riena ui. Now one of the
> first Problems I have is that my app works with editors. I tried to
> enable the editorarea but that doesnt help. is there a chance to make
> riena aware of the editor concept ?
>
> I noticed that I dont see my view menu and the view toolbar is rendered
> in the navigation area. Is there something I have to do to fix this ?
>
> Where can I find something about branding the ui ? (Put my logo in it etc)
>
> Regards Thomas
Re: Porting "legacy" RCP app [message #19866 is a reply to message #19751] Thu, 29 January 2009 11:18 Go to previous messageGo to next message
Thorsten Schenkel is currently offline Thorsten Schenkel
Messages: 15
Registered: July 2009
Junior Member
Hi,

UI branding in Riena is limited on the widget of the Riena navigation.
These widgets are used at the top (e.g. logo) and the left side of the
application. To define the look Riena uses Look&Feel and Themes (similar
to Swing). If you only want to change colors, images, fonts etc., you
must write your own theme. If you want to change the e.g. the shape of a
Riena navigation widgets, you must override existing renderers.
In the Wiki of Riena there is a Look&Feel documentation:
http://wiki.eclipse.org/Riena_Look_and_Feel
The default Riena Look&Feel is define in the two classes RienaDeaultLnf
and RienaDefaultTheme.
The sample application “org.eclipse.riena.example.client” has an
alternative look. The classes are: ExampleLnf and ExampleTheme

In Riena only the application has a menu and a tool bar.
In Riena we define the menu and tool bar of the application only with
the (new) extensions “org.eclipse.ui.commands”, “org.eclipse.ui.menus”
and “org.eclipse.ui.handlers“. And only for these items the framework
creates Ridgets (e.g. IMenuItemRidget, IToolItemRidget). In your
controller (SubApplicationController) you can get these Ridgets using
the method “getMenuActionRidget”/”getToolbarActionRidget”. You need
these Ridgets to modify the items (e.g. disable menu item).

I hope these answers will help you.

Regards
Thorsten


Thomas schrieb:
> HI I made some hops to port my oldschool rcp to riena ui. Now one of the
> first Problems I have is that my app works with editors. I tried to
> enable the editorarea but that doesnt help. is there a chance to make
> riena aware of the editor concept ?
>
> I noticed that I dont see my view menu and the view toolbar is rendered
> in the navigation area. Is there something I have to do to fix this ?
>
> Where can I find something about branding the ui ? (Put my logo in it etc)
>
> Regards Thomas
Re: Porting "legacy" RCP app [message #20067 is a reply to message #19751] Fri, 30 January 2009 07:52 Go to previous message
Christian Campo is currently offline Christian Campo
Messages: 590
Registered: July 2009
Senior Member
Thomas schrieb:
> HI I made some hops to port my oldschool rcp to riena ui. Now one of the
> first Problems I have is that my app works with editors. I tried to
> enable the editorarea but that doesnt help. is there a chance to make
> riena aware of the editor concept ?
>
> I noticed that I dont see my view menu and the view toolbar is rendered
> in the navigation area. Is there something I have to do to fix this ?
>
> Where can I find something about branding the ui ? (Put my logo in it etc)
>
> Regards Thomas
Hi Thomas,

right Riena currently does not support editors. One reason probably was that editors are mostly used for "views" that
should be visible in multiple perspectives. Since we use perspectives only internally to model subapplications there
wasnt such a need.

So I'd like to understand why you want editors or what your expectation is. Is it that you want to use editors like
views that should be attached to a single node. Or is your expectation that all editors should be visible in all
subapplications automatically (which is not what the riena ui model is made for really).

So maybe you can enter a bugzilla for that and describe a little more what you expectation is and we can then discuss
there the how and when of this feature.

does that work for you ?

christian campo
Re: Porting "legacy" RCP app [message #578272 is a reply to message #19751] Thu, 29 January 2009 11:16 Go to previous message
Thorsten Schenkel is currently offline Thorsten Schenkel
Messages: 15
Registered: July 2009
Junior Member
Hi,

UI branding in Riena is limited on the widget of the Riena navigation.
These widgets are used at the top (e.g. logo) and the left side of the
application. To define the look Riena uses Look&Feel and Themes (similar
to Swing). If you only want to change colors, images, fonts etc., you
must write your own theme. If you want to change the e.g. the shape of a
Riena navigation widgets, you must override existing renderers.
In the Wiki of Riena there is a Look&Feel documentation:
http://wiki.eclipse.org/Riena_Look_and_Feel
The default Riena Look&Feel is define in the two classes RienaDeaultLnf
and RienaDefaultTheme.
The sample application “org.eclipse.riena.example.client” has an
alternative look. The classes are: ExampleLnf and ExampleTheme

In Riena only the application has a menu and a tool bar.
In Riena we define the menu and tool bar of the application only with
the (new) extensions “org.eclipse.ui.commands”, “org.eclipse.ui.menus”
and “org.eclipse.ui.handlers“. And only for these items the framework
creates Ridgets (e.g. IMenuItemRidget, IToolItemRidget). In your
controller (SubApplicationController) you can get these Ridgets using
the method “getMenuActionRidget”/”getToolbarActionRidget”. You need
these Ridgets to modify the items (e.g. disable menu item).

I hope these answers will help you.

Regards
Thorsten


Thomas schrieb:
> HI I made some hops to port my oldschool rcp to riena ui. Now one of the
> first Problems I have is that my app works with editors. I tried to
> enable the editorarea but that doesnt help. is there a chance to make
> riena aware of the editor concept ?
>
> I noticed that I dont see my view menu and the view toolbar is rendered
> in the navigation area. Is there something I have to do to fix this ?
>
> Where can I find something about branding the ui ? (Put my logo in it etc)
>
> Regards Thomas
Re: Porting "legacy" RCP app [message #578285 is a reply to message #19751] Thu, 29 January 2009 11:18 Go to previous message
Thorsten Schenkel is currently offline Thorsten Schenkel
Messages: 15
Registered: July 2009
Junior Member
Hi,

UI branding in Riena is limited on the widget of the Riena navigation.
These widgets are used at the top (e.g. logo) and the left side of the
application. To define the look Riena uses Look&Feel and Themes (similar
to Swing). If you only want to change colors, images, fonts etc., you
must write your own theme. If you want to change the e.g. the shape of a
Riena navigation widgets, you must override existing renderers.
In the Wiki of Riena there is a Look&Feel documentation:
http://wiki.eclipse.org/Riena_Look_and_Feel
The default Riena Look&Feel is define in the two classes RienaDeaultLnf
and RienaDefaultTheme.
The sample application “org.eclipse.riena.example.client” has an
alternative look. The classes are: ExampleLnf and ExampleTheme

In Riena only the application has a menu and a tool bar.
In Riena we define the menu and tool bar of the application only with
the (new) extensions “org.eclipse.ui.commands”, “org.eclipse.ui.menus”
and “org.eclipse.ui.handlers“. And only for these items the framework
creates Ridgets (e.g. IMenuItemRidget, IToolItemRidget). In your
controller (SubApplicationController) you can get these Ridgets using
the method “getMenuActionRidget”/”getToolbarActionRidget”. You need
these Ridgets to modify the items (e.g. disable menu item).

I hope these answers will help you.

Regards
Thorsten


Thomas schrieb:
> HI I made some hops to port my oldschool rcp to riena ui. Now one of the
> first Problems I have is that my app works with editors. I tried to
> enable the editorarea but that doesnt help. is there a chance to make
> riena aware of the editor concept ?
>
> I noticed that I dont see my view menu and the view toolbar is rendered
> in the navigation area. Is there something I have to do to fix this ?
>
> Where can I find something about branding the ui ? (Put my logo in it etc)
>
> Regards Thomas
Re: Porting "legacy" RCP app [message #578381 is a reply to message #19751] Fri, 30 January 2009 07:52 Go to previous message
Christian Campo is currently offline Christian Campo
Messages: 590
Registered: July 2009
Senior Member
Thomas schrieb:
> HI I made some hops to port my oldschool rcp to riena ui. Now one of the
> first Problems I have is that my app works with editors. I tried to
> enable the editorarea but that doesnt help. is there a chance to make
> riena aware of the editor concept ?
>
> I noticed that I dont see my view menu and the view toolbar is rendered
> in the navigation area. Is there something I have to do to fix this ?
>
> Where can I find something about branding the ui ? (Put my logo in it etc)
>
> Regards Thomas
Hi Thomas,

right Riena currently does not support editors. One reason probably was that editors are mostly used for "views" that
should be visible in multiple perspectives. Since we use perspectives only internally to model subapplications there
wasnt such a need.

So I'd like to understand why you want editors or what your expectation is. Is it that you want to use editors like
views that should be attached to a single node. Or is your expectation that all editors should be visible in all
subapplications automatically (which is not what the riena ui model is made for really).

So maybe you can enter a bugzilla for that and describe a little more what you expectation is and we can then discuss
there the how and when of this feature.

does that work for you ?

christian campo
Previous Topic:Riena Release 1.0.0 is finished and ready for download
Next Topic:How to use Attachment?
Goto Forum:
  


Current Time: Fri Aug 22 21:50:21 EDT 2014

Powered by FUDForum. Page generated in 0.01707 seconds