Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » [Neon] - insert dynamic image into menu without being icons.( insert dynamic image into menu without being icons.)
[Neon] - insert dynamic image into menu without being icons. [message #1763899] Mon, 22 May 2017 17:24 Go to next message
juliano ferreira borges is currently offline juliano ferreira borgesFriend
Messages: 4
Registered: December 2016
Location: Brasil
Junior Member
Good afternoon,
I'm using Scout 6 in the neon eclipse.
I have the following problem, I need to create in the menu bar of the desktop an avatar that can be changed by the image that is saved in the database.
The abstractMenu does not allow to insert image, only icons already registered. Is there any way to load an image into a menu without being an icon?
Re: [Neon] - insert dynamic image into menu without being icons. [message #1763991 is a reply to message #1763899] Tue, 23 May 2017 17:30 Go to previous messageGo to next message
Beat Schwarzentrub is currently offline Beat SchwarzentrubFriend
Messages: 104
Registered: November 2010
Senior Member
Hi Juliano

I did not try it, but it seems to be possible by using special iconIds that are handled by your own IIconProviderService. Have a look at this code:
https://github.com/BSI-Business-Systems-Integration-AG/org.eclipse.scout.docs/blob/releases/6.0.x/code/bahbah/org.eclipsescout.demo.bahbah.client/src/main/java/org/eclipsescout/demo/bahbah/client/services/BuddyAvatarIconProviderService.java

Regards,
Beat
Re: [Neon] - insert dynamic image into menu without being icons. [message #1766708 is a reply to message #1763991] Mon, 26 June 2017 12:24 Go to previous message
juliano ferreira borges is currently offline juliano ferreira borgesFriend
Messages: 4
Registered: December 2016
Location: Brasil
Junior Member
Thank you for your help. Using your suggestion I was able to implement a solution.
Thanks for listening.
Previous Topic:Neon: jaxws-maven-plugin error in an Mars.2 IDE
Next Topic:Set SearchForm-Field from the TablePage-Value
Goto Forum:
  


Current Time: Mon Nov 19 11:00:16 GMT 2018

Powered by FUDForum. Page generated in 0.02404 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top