Java Code Examples for org.eclipse.swt.SWT#BORDER_DOT

The following examples show how to use org.eclipse.swt.SWT#BORDER_DOT . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ModulaSearchLabelProvider.java    From xds-ide with Eclipse Public License 1.0 5 votes vote down vote up
protected StyleRange prepareStyleRange(StyleRange styleRange, boolean applyColors) {
    if (!applyColors && styleRange.background != null) {
        styleRange= super.prepareStyleRange(styleRange, applyColors);
        styleRange.borderStyle= SWT.BORDER_DOT;
        return styleRange;
    }
    return super.prepareStyleRange(styleRange, applyColors);
}
 
Example 2
Source File: DecoratingTypeScriptSearchLabelProvider.java    From typescript.java with MIT License 5 votes vote down vote up
protected StyleRange prepareStyleRange(StyleRange styleRange, boolean applyColors) {
	if (!applyColors && styleRange.background != null) {
		styleRange= super.prepareStyleRange(styleRange, applyColors);
		styleRange.borderStyle= SWT.BORDER_DOT;
		return styleRange;
	}
	return super.prepareStyleRange(styleRange, applyColors);
}
 
Example 3
Source File: ColoringLabelProvider.java    From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 5 votes vote down vote up
@Override
protected StyleRange prepareStyleRange(StyleRange styleRange, boolean applyColors) {
	if (!applyColors && styleRange.background != null) {
		styleRange= super.prepareStyleRange(styleRange, applyColors);
		styleRange.borderStyle= SWT.BORDER_DOT;
		return styleRange;
	}
	return super.prepareStyleRange(styleRange, applyColors);
}
 
Example 4
Source File: DecoratingFileSearchLabelProvider.java    From Pydev with Eclipse Public License 1.0 5 votes vote down vote up
@Override
protected StyleRange prepareStyleRange(StyleRange styleRange, boolean applyColors) {
    if (!applyColors && styleRange.background != null) {
        styleRange = super.prepareStyleRange(styleRange, applyColors);
        styleRange.borderStyle = SWT.BORDER_DOT;
        return styleRange;
    }
    return super.prepareStyleRange(styleRange, applyColors);
}
 
Example 5
Source File: ActionInformationItem.java    From tlaplus with MIT License 4 votes vote down vote up
@Override
protected StyleRange addStlye(final StyleRange sr) {
	sr.borderStyle = SWT.BORDER_DOT;
	return sr;
}