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

The following examples show how to use org.eclipse.swt.SWT#BORDER_DOT . These examples are extracted from open source projects. 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
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
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
@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
@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 Project: tlaplus   File: ActionInformationItem.java    License: MIT License 4 votes vote down vote up
@Override
protected StyleRange addStlye(final StyleRange sr) {
	sr.borderStyle = SWT.BORDER_DOT;
	return sr;
}