Details

Description

When we navigate between multiple connections, we have to keep the connection window opened to see in which we currently are in the LDAP Browser window. It would be easier if the connection name appeared in the title window of the LDAP Browser or in the root node

Activity

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".

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)?

Stefan Seelmann
added a comment - 08/Mar/10 15:59 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)?

In our side, we would only add the connection name on the title bar. Info on the title bar should be kept concise and easy to read, in my opinion.

Now, I understand that this is kind of an eclipse standard? Having the information displayed in the title bar - even with current DN - is better than not having it at all so I consider it an acceptable solution.

Jean-Marc
added a comment - 08/Mar/10 16:31 Hi Stefan,
In our side, we would only add the connection name on the title bar. Info on the title bar should be kept concise and easy to read, in my opinion.
Now, I understand that this is kind of an eclipse standard? Having the information displayed in the title bar - even with current DN - is better than not having it at all so I consider it an acceptable solution.
Thank you.