public void widgetSelected( SelectionEvent arg0 ) { background.dispose(); backgroundRGB = new RGB( ConstUI.COLOR_BACKGROUND_RED, ConstUI.COLOR_BACKGROUND_GREEN, ConstUI.COLOR_BACKGROUND_BLUE ); background = new Color( display, backgroundRGB ); wBGColor.setBackground( background ); wBGColor.redraw(); } } );
public void widgetSelected( SelectionEvent arg0 ) { tabColor.dispose(); tabColorRGB = new RGB( ConstUI.COLOR_TAB_RED, ConstUI.COLOR_TAB_GREEN, ConstUI.COLOR_TAB_BLUE ); tabColor = new Color( display, tabColorRGB ); wTabColor.setBackground( tabColor ); wTabColor.redraw(); } } );
public void widgetSelected( SelectionEvent arg0 ) { graphColor.dispose(); graphColorRGB = new RGB( ConstUI.COLOR_GRAPH_RED, ConstUI.COLOR_GRAPH_GREEN, ConstUI.COLOR_GRAPH_BLUE ); graphColor = new Color( display, graphColorRGB ); wGrColor.setBackground( graphColor ); wGrColor.redraw(); } } );
public void widgetSelected( SelectionEvent arg0 ) { ColorDialog cd = new ColorDialog( shell ); cd.setRGB( props.getGraphColorRGB() ); RGB newbg = cd.open(); if ( newbg != null ) { graphColorRGB = newbg; graphColor.dispose(); graphColor = new Color( display, graphColorRGB ); wGrColor.setBackground( graphColor ); wGrColor.redraw(); } } } );
public void widgetSelected( SelectionEvent arg0 ) { ColorDialog cd = new ColorDialog( shell ); cd.setRGB( props.getBackgroundRGB() ); RGB newbg = cd.open(); if ( newbg != null ) { backgroundRGB = newbg; background.dispose(); background = new Color( display, backgroundRGB ); wBGColor.setBackground( background ); wBGColor.redraw(); } } } );
public void widgetSelected( SelectionEvent arg0 ) { ColorDialog cd = new ColorDialog( shell ); cd.setRGB( props.getTabColorRGB() ); RGB newbg = cd.open(); if ( newbg != null ) { tabColorRGB = newbg; tabColor.dispose(); tabColor = new Color( display, tabColorRGB ); wTabColor.setBackground( tabColor ); wTabColor.redraw(); } } } );
wBGColor.setBackground( background ); FormData fdBGColor = new FormData(); fdBGColor.left = new FormAttachment( middle, 0 ); wGrColor.setBackground( graphColor ); FormData fdGrColor = new FormData(); fdGrColor.left = new FormAttachment( middle, 0 ); wTabColor.setBackground( tabColor ); FormData fdTabColor = new FormData(); fdTabColor.left = new FormAttachment( middle, 0 );
newProps(); canvas.setBackground( GUIResource.getInstance().getColorBackground() );
/** * Sets the background color of the header. */ @Override public void setBackground(Color bg) { super.setBackground(bg); internalSetBackground(bg); }
/** * Sets the tool foreground color. * * @param color the new color to use */ public void setForegroundColor(Color color) { if (activeForegroundColorCanvas != null) activeForegroundColorCanvas.setBackground(color); toolSettings.commonForegroundColor = color; updateToolSettings(); }
/** * Sets the background color of the header. */ @Override public void setBackground(Color bg) { super.setBackground(bg); internalSetBackground(bg); }
public void deselect() { // hide the popup // fHoverManager.disposeInformationControl(); // deselect fSelection= null; resetViewerBackground(oldStyles); oldStyles= null; Display disp= fShell.getDisplay(); canvas.setCursor(null); // TODO: remove shading - for now: set standard background canvas.setBackground(disp.getSystemColor(SWT.COLOR_INFO_BACKGROUND)); }
public void deselect() { // hide the popup // fHoverManager.disposeInformationControl(); // deselect fSelection= null; resetViewerBackground(oldStyles); oldStyles= null; Display disp= fShell.getDisplay(); canvas.setCursor(null); // TODO: remove shading - for now: set standard background canvas.setBackground(disp.getSystemColor(SWT.COLOR_INFO_BACKGROUND)); }
public void deselect() { // hide the popup // fHoverManager.disposeInformationControl(); // deselect fSelection= null; resetViewerBackground(oldStyles); oldStyles= null; Display disp= fShell.getDisplay(); canvas.setCursor(null); // TODO: remove shading - for now: set standard background canvas.setBackground(disp.getSystemColor(SWT.COLOR_INFO_BACKGROUND)); }
/** * Sets the background color of this column. * * @param background the background color */ public void setBackground(Color background) { fBackground= background; if (fCanvas != null && !fCanvas.isDisposed()) fCanvas.setBackground(getBackground(fCanvas.getDisplay())); }
/** * Sets the background color of this column. * * @param background the background color */ public void setBackground(Color background) { fBackground= background; if (fCanvas != null && !fCanvas.isDisposed()) fCanvas.setBackground(getBackground(fCanvas.getDisplay())); }
@Override public void setBackground(Color bg) { super.setBackground(bg); titleLabel.setBackground(bg); if (busyLabel != null) busyLabel.setBackground(bg); if (menuHyperlink != null) menuHyperlink.setBackground(bg); }
@Override public void setBackground(Color bg) { super.setBackground(bg); titleLabel.setBackground(bg); if (busyLabel != null) busyLabel.setBackground(bg); if (menuHyperlink != null) menuHyperlink.setBackground(bg); }
@Override public void setBackground(Color background) { fBackground= background; if (fCanvas != null && !fCanvas.isDisposed()) fCanvas.setBackground(getBackground()); fRevisionPainter.setBackground(background); fDiffPainter.setBackground(background); }
@Override public void setBackground(Color background) { fBackground= background; if (fCanvas != null && !fCanvas.isDisposed()) fCanvas.setBackground(getBackground()); fRevisionPainter.setBackground(background); fDiffPainter.setBackground(background); }