Example #1
0
 @Override
 public void add(@NotNull Balloon balloon, @Nullable Object layoutData) {
   if (layoutData instanceof BalloonLayoutData && ((BalloonLayoutData) layoutData).welcomeScreen) {
     addToPopup((BalloonImpl) balloon, (BalloonLayoutData) layoutData);
   } else {
     super.add(balloon, layoutData);
   }
 }
Example #2
0
 @Override
 public void dispose() {
   super.dispose();
   if (myPopupBalloon != null) {
     Disposer.dispose(myPopupBalloon);
     myPopupBalloon = null;
   }
 }