@Override public void setVisible(boolean visible) { if (!visible) { persistSettings(getShell()); } super.setVisible(visible); }
@Override public void setForegroundColor(final Color foreground) { super.setForegroundColor(foreground); fContentComposite.setForeground(foreground); fTitleText.setForeground(foreground); fInfoText.setForeground(foreground); }
@Override public void setForegroundColor(final Color foreground) { super.setForegroundColor(foreground); this.contentComposite.setForeground(foreground); this.titleText.setForeground(foreground); this.infoText.setForeground(foreground); }
@Override public void setBackgroundColor(Color background) { super.setBackgroundColor(background); if (fDetailPaneComposite != null) { fDetailPaneComposite.setBackground(background); } fTree.setBackground(background); }
@Override public void setSize(int width, int height) { if (!isResizable() && fDetailPaneComposite != null) { // add height of details pane height += fDetailPaneComposite.computeSize(SWT.DEFAULT, SWT.DEFAULT).y; } super.setSize(width, height); }
@Override public void setVisible(final boolean visible) { if (visible) { updateInput(); if (fLayoutWorkaround) { fContentComposite.layout(true, true); fLayoutWorkaround = false; } } super.setVisible(visible); }
@Override public void setVisible(final boolean visible) { if (visible) { updateInput(); if (this.layoutWorkaround) { this.contentComposite.layout(true, true); this.layoutWorkaround = false; } if (Platform.WS_WIN32.equals(SWT.getPlatform())) { final Shell shell = getShell(); if (shell != null) { shell.moveAbove(null); } } } super.setVisible(visible); }
@Override public void dispose() { JFaceResources.getFontRegistry().removeListener(this); super.dispose(); }
@Override public void setBackgroundColor(final Color background) { super.setBackgroundColor(background); fContentComposite.setBackground(background); }
@Override public void setFocus() { super.setFocus(); fTree.setFocus(); }
@Override public void dispose() { persistSettings(getShell()); fContext.dispose(); super.dispose(); }