eclipse e4 menu item tooltip - eclipse

How to use menu item tooltips? When I add a new menu item in fragment.e4xmi there is a "tooltip" text field in properties editor window, but when I run the application I see no tooltips. Should I do something tricky to enable them? I've seen on the Internet that it was an issue before, but I assume it should be already fixed since properties editor suggests me to enter a tooltip. Setting tooltip via setTooltip() method programmatically doesn't work either. I use Mars.1 Release (4.5.1).

I think this is Eclipse bug 473779. Tool tips for menu items don't work in Eclipse 4.5.2 and earlier. This has been fixed in Eclipse Neon (4.6.0) due to be released shortly (June 2016).
I confirmed this testing on Mac OS X. Eclipse 4.5.2 doesn't show tool tips, Eclipse 4.6.0 does.

Related

Keyboard shortcuts in Eclipse Oxygen

I was working in Eclipse yesterday, when my keyboard shortcuts stopped working. They all worked until yesterday. Pressing Ctrl+Shift causes a popup saying the cursor does not (yet) have a detectable image. Ctrl works fine, and so does Shift + a letter. Only Ctrl+Shift+any key causes this error. Even just pressing Ctrl+Shift by itself causes the popup:
I use Eclipse with the Darkest Dark Theme plug-in on Windows 10.
What is causing this error, and how can I fix it? Thanks in advance.
As has been mentioned by Howlger, yes, Darkest Dark's Icon Designer uses Control-Shift when hovering over an icon to allow you to find the icon that you wish to tailor. This listener only activates if you have the view in your workspace, and I believe only if you have brought the view to the foreground. That said, we have a change in the next release to explicitly allow you to opt-in to using Control-Shift to find an icon.
Screenshot of explicit opt-in
This doesn't specifically have anything to do with open source or otherwise - simply the software behaving as designed
Try to uninstall the Darkest Dark Theme plug-in.
This closed source plug-in does load-time weaving to patch Java bytecode of the Eclipse platform (for legal reasons, to not have to publish their changes). In contrast of using a public API, load-time weaving patches have to be adapted for each (new) Eclipse version: an error in the plug-in can cause strange behavior of the Eclipse platform.

How can I set UI interface of Eclipse in undock mode as in Netbeans?

There is an option in Netbeans that allows for a section of their UI interface to have its own window, allowing me to drag it to another monitor (see this link and appended picture).
I have search in Eclipse for this same behavior but unfortunatly I haven't found it.
Is this feature available in eclipse (natively or by plugin)?
You can do that in eclipse natively. just drag the view outside you'll get the same behavior. I use eclipse 4.6. I remember seeing this from 4.4.

Unable to dock perspective bar on the left in Eclipse Juno

This page says that I should be able to dock my perspective bar in Eclipse Juno on the left, just the way I've been doing it in Indigo, Helios and previous versions.
Except that the menu I get when I right-click on a perspective button in the perspective bar, only includes the following options:
close
show text
Has anyone else run into this -- is there something wrong with my configuration or workspace? Or is it time for me to submit a bug?
(I'm using this release: 20120614-1722 )
It seems like this feature will be implemented in M20120809-1200/4.2.1/Juno SR1. See
this comment on eclipse bug 383599.
Dock functionality is not available in Eclipse 4.2 - only in Eclipse 3.8
See comment #3 at https://bugs.eclipse.org/bugs/show_bug.cgi?id=383599#c3
I'm currently in the process of enhancing the DnD for trim elements to include the Perspective Switcher (as well as tool bars and most of the rest of the trim). Hopefully this will make it into the SR1 release in September.
Note that we won't be putting the 'Dock on Left' context menu back though since we're trying to reduce the complexity by only having one way to do things...
I wouldn't rely on the online documentation for specific information, I think large chunks of it are just copied over from previous releases into a new folder and left there.
I've been confused a few times by this fact too (in my case it was also concerning the UI configuration).
The page you supplied in your link is indeed labelled Juno (4.2) but as eugener mentioned this feature is for the 3.x (Indigo).

Eclipse Indigo vs Helios - starting the app

While in Eclipse Helios I could press the Debug or Run btn while editing any file, in particular also xml-files.
Now with Indigo I have to position the cursor in a Java-file and the press debug/run.
This is rather annoying when editing just some xml-files having to jump to a Java-file before able to run the app.
Is this a new "Feature" or is it possible to get the same behaviour as before?
Many thanks
It's a feature, called Context launching. You can turn it off at the bottom of Preferences>Run/Debug>Launching. See http://eclipse-debug.blogspot.ca/2007/05/context-launchingfriend-or-foe.html for more details.

Installing SwingX 1.0 to NetBeans 6.7.1

Has anyone successfully installed SwingX to NetBeans' Palette? I'm following the instructions in SwingX Wiki, but with some glitches:
The components appear in the Palette, but their icons won't show up correctly. If I add the componets shown by "Show All JavaBeans" (instead of "Show Marked JavaBeans") in the Palette manager, then I get some icons there, but they're for the BeanInfo objects only: for instance there's an JXTaskPaneContainer item with an icon, but it turns out to actually be an JXTaskPaneContainerBeanInfo class. The real JXTaskPaneContainer component is shown with a question mark icon.
Apparently NetBeans can't read the BeanInfo stuff from where it it is. I don't know if this is a SwingX issue, a NetBeans issue or a compatibility issue. Any tips?
Works fine: http://www.thainetbeans.com/sample/swingx.htm