When the Plugins are installed within Eclipse the title bar actually shows connection context information in the window title, it is updated whenever another entry is opened. The following format is used:
Perspective - Entry DN - Connection Name - Eclipse
However in the RCP application we only have the static title "Apache Directory Studio".
I figures out that in Eclipse the WorkbenchWindowsAdvisor implementation sets up some listeners that updates the title, see http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.ui.ide.application/src/org/eclipse/ui/internal/ide/application/IDEWorkbenchWindowAdvisor.java?view=markup
So I tried to adapt this class to our ApplicationWorkbenchWindowAdvisor, see the result in the attached image.
Any thoughts before I commit the change?
Is the order of the information (Perspective Name - Entry DN - Connection Name - Product Name) ok? At least it is the same order than in Eclipse.
On Windows and Linux that should be ok. But how does it look like on MacOS (I think there is no window title)?