Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Is it possible to add a Label and a Text in MenuBar?
Is it possible to add a Label and a Text in MenuBar? [message #1866654] Tue, 04 June 2024 11:17 Go to next message
Eclipse UserFriend
Dear all,

I am trying to add a "quick search", a Label and a Text controls, after typing keyword in the Text control and pressing Enter, it'll do something specifically!

My ideal place is the top-right corner of the screen, that is the end of menu bar.
Is it possible to add a Label followed by a Text in Menu Bar? or just a Text is ok.
If yes, how to implement it?

Thank you!
David
Re: Is it possible to add a Label and a Text in MenuBar? [message #1866687 is a reply to message #1866654] Wed, 05 June 2024 02:34 Go to previous messageGo to next message
Eclipse UserFriend
Hi David,

in one of the later RAP releases I have backported parts of the Eclipse Quick Search functionality.
If you have a running Eclipse IDE it's that small search icon(magnifying glass) in the upper toolbar or presse Ctrl+3 and start typing.
You can even try that out in the Eclipse RAP workbench demo here https://rap.eclipsesource.com/demo/release/workbench/ by pressing Ctrl+3 and start typing e.g. Preferences.
Not all of the providers of the desktop IDE are implemented but that could be enhanced.
You can provide your own search results with custom actions when selected by just implementing the corresponding extension point. You can look at the workbench demo source code how to do that.

Hope that helps.

Bye Peter
Re: Is it possible to add a Label and a Text in MenuBar? [message #1866699 is a reply to message #1866687] Wed, 05 June 2024 04:27 Go to previous message
Eclipse UserFriend
Hi, Peter

Thank you for your answer!
I tried Ctrl+3 and a popup appears!
Is it possible a SWT Text directly shown on Menu Bar without popup?

David

[Updated on: Wed, 05 June 2024 04:47] by Moderator

Previous Topic:I want to use websocket
Next Topic:Eclipse RAP Maven Tycho War File Example Project
Goto Forum:
  


Current Time: Fri Jun 13 03:13:41 EDT 2025

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

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

Back to the top