WorkbenchPart.setTitleToolTip doesn't work [message #143617] |
Fri, 17 March 2006 03:06 |
Eclipse User |
|
|
|
Originally posted by: d3nny198.yahoo.com
Hi,
I am trying to create a editor that extends
org.eclipse.ui.forms.editor.FormEditor.
Apparently, the this.setTitleToolTip("abc") doesn't work, so I have to
manually overide getTitleToolTip() so that it doesn't fail the PartTester.
My question is that The Eclipse API suggest setting title tool tip from
setTitleToolTip("abc") instead of override getTitleToolTip(), how do i set
this title tool tip correctly ?
------
public class POEditor extends FormEditor {
public POEditor() {
super();
super.setTitleToolTip("PO Editor");
}
protected void addPages() {
super.setTitleToolTip("PO Editor");
}
}
Thanks,
Denny
|
|
|
Powered by
FUDForum. Page generated in 0.07697 seconds