public void hide() { if ( !splash.isDisposed() ) { splash.setVisible( false ); } }
public void show() { if ( !splash.isDisposed() ) { splash.setVisible( true ); } } }
@Override public void mouseUp(MouseEvent e){ shell.setVisible (false); } });
@Override public void handleEvent(Event e){ shell.setVisible (false); } });
@Override public void mouseExit(MouseEvent e){ if (!fToolTipShell.isDisposed()) { fToolTipShell.setVisible(false); } fTooltipItem = null; }
@Override public boolean requestWidgetToken(IWidgetTokenOwner owner, int priority) { if (priority > WIDGET_PRIORITY) { if (fPopup != null && !fPopup.isDisposed()) { fPopup.setVisible(false); } return true; } return false; }
/** * Displays the context selector. */ private void displayContextSelector() { if (fContentAssistant.addContentAssistListener(this, ContentAssistant.CONTEXT_SELECTOR)) fContextSelectorShell.setVisible(true); }
void setVisible(boolean visible) { if (visible) { if (!hoverShell.isVisible()) { hoverShell.setVisible(true); } } else { if (hoverShell.isVisible()) { hoverShell.setVisible(false); } } }
@Override public void setVisible(boolean visible) { if (fShell.isVisible() == visible) return; fShell.setVisible(visible); }
/** * Displays the context selector. */ private void displayContextSelector() { if (fContentAssistant.addContentAssistListener(this, ContentAssistant.CONTEXT_SELECTOR)) fContextSelectorShell.setVisible(true); }
/** * Displays the context selector. */ private void displayContextSelector() { if (fContentAssistant.addContentAssistListener(this, ContentAssistant2.CONTEXT_SELECTOR)) fContextSelectorShell.setVisible(true); }
@Override public void setVisible(boolean visible) { mControl.setVisible(visible); mShell.setVisible(visible); }
void onMouseDown(Event e) { if (fTextShell != null && !fTextShell.isDisposed() && !fTextShell.isFocusControl()) { fTextShell.setVisible(false); fCanOpenTextShell = true; } }
public void setVisible (boolean visible) { super.setVisible(visible); if (!visible) popup.setVisible(false); } /**
@Override public void handleEvent(Event e) { splash.setVisible(true); splash.setActive(); } });
public void reset() { listeners.clear(); txtInfo.setText( "" ); shell.setVisible( true ); Utils.centreWindow( shell ); if ( modal && !defer_modal ){ goModal(); } }
@Override public void shellDeiconified(ShellEvent e) { if (Constants.isOSX && COConfigurationManager.getBooleanParameter("Password enabled")) { shell.setVisible(false); if (PasswordWindow.showPasswordWindow(Utils.getDisplay())) { shell.setVisible(true); } } } });
private void showPopupShell (Point containerBounds, Point calendarSize, Rectangle coordsRelativeToScreen, Rectangle displayRect) { int width = Math.max (containerBounds.x, calendarSize.x + 2); int height = calendarSize.y + 2; int y = calculateCalendarYpos (containerBounds, coordsRelativeToScreen, height, displayRect); int x = calculateCalendarXpos (calendarSize, coordsRelativeToScreen, displayRect, width); popupShell.setBoundsInPixels (x, y, width, height); popupShell.setVisible (true); if (isFocusControl ()) { popupCalendar.setFocus (); } }
private void showPopupShell (Point containerBounds, Point calendarSize, Rectangle coordsRelativeToScreen, Rectangle displayRect) { int width = Math.max (containerBounds.x, calendarSize.x + 2); int height = calendarSize.y + 2; int y = calculateCalendarYpos (containerBounds, coordsRelativeToScreen, height, displayRect); int x = calculateCalendarXpos (calendarSize, coordsRelativeToScreen, displayRect, width); popupShell.setBoundsInPixels (x, y, width, height); popupShell.setVisible (true); if (isFocusControl ()) { popupCalendar.setFocus (); } }
@Override public void setVisible(boolean visible) { if (visible) { open(); } else { removeHandlerAndKeyBindingSupport(); saveDialogBounds(getShell()); getShell().setVisible(false); } }