mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-89428 Quick Documentation Info (Cmd+Mouse over): nothing happens on clicking Pin button on Mac OS
This commit is contained in:
@@ -820,6 +820,14 @@ public class CtrlMouseHandler extends AbstractProjectComponent {
|
||||
pane.mouseExited(e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void mouseClicked(MouseEvent e) {
|
||||
QuickDocInfoPane pane = quickDocPaneRef.get();
|
||||
if (pane != null) {
|
||||
pane.mouseClicked(e);
|
||||
}
|
||||
}
|
||||
};
|
||||
Ref<Consumer<String>> newTextConsumerRef = new Ref<Consumer<String>>();
|
||||
JComponent label = HintUtil.createInformationLabel(docInfo.text, hyperlinkListener, mouseListener, newTextConsumerRef);
|
||||
@@ -1018,6 +1026,11 @@ public class CtrlMouseHandler extends AbstractProjectComponent {
|
||||
processStateChangeIfNecessary(e.getLocationOnScreen(), false);
|
||||
}
|
||||
|
||||
public void mouseClicked(@NotNull MouseEvent e) {
|
||||
// TODO den check the processing.
|
||||
int i = 1;
|
||||
}
|
||||
|
||||
private void processStateChangeIfNecessary(@NotNull Point mouseScreenLocation, boolean mouseEntered) {
|
||||
// Don't show 'view quick doc' buttons if docked quick doc control is already active.
|
||||
if (myDocumentationManager.hasActiveDockedDocWindow()) {
|
||||
|
||||
Reference in New Issue
Block a user