コード例 #1
0
 @Override
 public void addNotify() {
   super.addNotify();
   myGlassPane = IdeGlassPaneUtil.find(this);
   myDisposable = Disposer.newDisposable();
   myGlassPane.addMouseMotionPreprocessor(myListener, myDisposable);
   myGlassPane.addMousePreprocessor(myListener, myDisposable);
 }
コード例 #2
0
 @Override
 public void addNotify() {
   super.addNotify();
   if (!ScreenUtil.isStandardAddRemoveNotify(this)) return;
   myGlassPane = IdeGlassPaneUtil.find(this);
   if (myGlassPane != null) {
     myGlassPane.addMouseMotionPreprocessor(this, myDisposable);
   }
 }
コード例 #3
0
 private void init() {
   myGlassPane = IdeGlassPaneUtil.find(this);
   myGlassPane.addMouseMotionPreprocessor(myListener, this);
   myGlassPane.addMousePreprocessor(myListener, this);
 }