Mouse over in CommanNavigator - eclipse

In eclipse shrink size of the Package explorer view.
Then keep the mouse over the packages then you can see a tool tip will show the entire package name. I am doing all these things in Winsows OS.
Do the same thing in Ubuntu OS tool tip is not showing. why?
Why i am asking this:
In my product i have created a package explorer view using CommonNavigator. this explorer is showing tool tip in Windows not in Ubuntu. i want to show tool tip in Ubuntu as well.
Note:I don't want to extend the CommonNavigator class.

This tool tip is done by the native code that SWT uses to draws the tree. On some platforms the native code show the tool tip, on others it doesn't. There isn't anything in the tree API to control this.

Related

Alternate package explorer view

I was experimenting with my eclipse setup trying to find a better way to browse through my projects packages and classes and I found the perfect view...then lost it😭.
I've tried every view but I can't get it back. It was like package explorer but it appeared above the code editor and it contained separate views for projects, packages, and classes. You could click on the leftmost box containing the project, then the middle box would populate with the packages within, then you could click on the package and the right most box would populate with the classes within.
My best guess is it's a way to customize the project explorer or package explorer but I can't seem to figure it out.
I want to say when I found it I was experimenting with working sets but I could be wrong.
Thanks for any help in advance!

Eclipse toolbar middle alignment (GTK related)

Installed fresh installation of Eclipse on centos.
After restarting suddenly all buttons are aligned middle instead of left.
Where is the setting to change that?
Eclipse version 4.16.0
Build id 20200615-1200
Edit: seem to be a GTK problem, I managed to find those settings in gtk inspector using ctrl+shift+D and change the toolbar elements to GTK_ALIGN_START, and that fixes it.
But no idea why it's like that to begin with? All my other apps works, and all use GTK_ALIGN_FILL, only eclipse is like that.
Also new eclipse installation doesn't help.
Any way to change all gtk aligns for a program and save?

Mac os X Eclipse Package Explorer view , project folders in smaller size

I recently brought Mac Book Pro and I installed Eclipse Luna. I am facing a problem in viewing the Java projects in "Package Explorer" folders are very small. Is there a way to increase instead of changing the screen resolution?
It should be possible, have a look at this link: http://blog.vogella.com/2013/02/19/css-styling-individual-part-of-the-eclipse-ide/
(Copy of the essential part, in case the above link stops working:
#org-eclipse-jdt-ui-PackageExplorer {
font-size:20;
background:black;
}
)
Remains the question, where to put those lines. Best would be to create your own style, but I never figured out how to do it. So I usually just modify one of the built-in styles. To do this, go to /Applications/eclipse4.4/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css and open the css-file of the style you currently use (probably e4_default_mac.css). Then add the above lines at the end of that css file and restart Eclipse. Note: when updating Eclipse, you might have to repeat those steps.
EDIT: Just realized it was already asked and answered on SO: I cannot change the font size of package explorer in Eclipse Don't look at the accepted answer, but at the next one below.
No, there is no way to change the size of folders or other visual properties of package explorer.
The views, fonts, etc... of general views are set by the system/OS properties. Only the editor view allows customization of sizing, such as, font.

What is this Eclipse view and how to implement it in other Eclipse-based products?

In Flash Builder 4.6's code assist, there is this extra box on the right of the classes, outlined in red, (image: http://oi42.tinypic.com/rqyuqq.jpg) that pops up when using the default Flex SDK. What is it called?
I find this feature very useful and wondering where I can get more information to implement a similar one in another Eclipsed-based IDE that I'm using.
this window is called JavaDoc View
http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Freference%2Fviews%2Fref-view-javadoc.htm
any developer that uses the eclipse IDE knows this windows, it's shown the javadoc content of selected element,
it's part of Eclipse Java development tools (JDT)

Why are eclipse views sometimes empty?

I have to use eclipse 3.1. I'm using it in an Ubuntu 11.04 VM (VMWare). It seems that every view I use is initially blank/empty until I close and reopen it. This is annoying but I can deal with it.
The problem is this trick doesn't work with the view for source code files.
Has anyone ever seen a similar issue? Are there any work-arounds?
I don't know if it is related. But the main menu is also initially missing. If I resize the application window, the main menu reappears.
This is a known issue with newer Linux desktops when using older versions of Eclipse.
The GTK widget set changed the default way it renders widgets. This causes versions of Eclipse that were compiled against the old GTK library to experience empty views like you saw as well as problems with ignoring some mouse clicks on buttons.
If you set this environment variable before launching Workbench then it should resolve the problem:
export GDK_NATIVE_WINDOWS=1
I verified this on Ubuntu 11.04 with Workbench 2.6 and the problem went away after I set the variable.
Best regards,
Rob