Abhishek Choudhary
Abhishek Choudhary

Reputation: 8395

getTitleTooltip method is not getting called once we mouse over in an Eclipse Editor

I have a RCP application where I implemented an Editor by following way-

public class CheckView extends EditorPart implements IMessageView,IViewPart {

Now I override the method getTitleToolTip() method and did some operation which will give different tooltips on different conditions. But the problem is , only once the getTooltip method is getting called , when we launch the RCP tool. But it should always get called whenever we mouseover the editor. Whats going wrong here?

Upvotes: 0

Views: 175

Answers (1)

Baz
Baz

Reputation: 36894

The documantation of IWorkbenchPart#getTitleToolTip() is quite specific:

Returns the title tool tip text of this workbench part. An empty string result indicates no tool tip. If this value changes the part must fire a property listener event with PROP_TITLE.

The tool tip text is used to populate the title bar of this part's visual container.

Upvotes: 2

Related Questions