/** * Tells whether this the breadcrumb is in LTR or RTL mode. * * @return <code>true</code> if the breadcrumb in left-to-right mode, <code>false</code> * otherwise */ private boolean isLTR() { return (fParentComposite.getStyle() & SWT.RIGHT_TO_LEFT) == 0; } }
public int getStyle () { /* * If SWT.BORDER was specified at creation time then getStyle() should answer * it even though it is removed for IE on win32 in checkStyle(). */ return super.getStyle () | (userStyle & SWT.BORDER); }
public int getStyle() { int style = super.getStyle(); style &= ~(SWT.TOP | SWT.BOTTOM); style |= onBottom ? SWT.BOTTOM : SWT.TOP; style &= ~(SWT.SINGLE | SWT.MULTI); style |= single ? SWT.SINGLE : SWT.MULTI; if (borderVisible) style |= SWT.BORDER; style &= ~SWT.CLOSE; if (showClose) style |= SWT.CLOSE; return style; } /**
@Override public int getStyle () { /* * If SWT.BORDER was specified at creation time then getStyle() should answer * it even though it is removed for IE on win32 in checkStyle(). */ return super.getStyle () | (userStyle & SWT.BORDER); }
@Override public int getStyle () { /* * If SWT.BORDER was specified at creation time then getStyle() should answer * it even though it is removed for IE on win32 in checkStyle(). */ return super.getStyle () | (userStyle & SWT.BORDER); }
@Override public int getStyle() { int result = super.getStyle(); result &= ~SWT.READ_ONLY; if( !editable ) { result |= SWT.READ_ONLY; } return result; }
@Override public int getStyle () { /* * If SWT.BORDER was specified at creation time then getStyle() should answer * it even though it is removed for IE on win32 in checkStyle(). */ return super.getStyle () | (userStyle & SWT.BORDER); }
@Override public int getStyle () { /* * If SWT.BORDER was specified at creation time then getStyle() should answer * it even though it is removed for IE on win32 in checkStyle(). */ return super.getStyle () | (userStyle & SWT.BORDER); }
@Override public int getStyle() { int style = super.getStyle(); style &= ~(SWT.TOP | SWT.BOTTOM); style |= onBottom ? SWT.BOTTOM : SWT.TOP; style &= ~(SWT.SINGLE | SWT.MULTI); style |= single ? SWT.SINGLE : SWT.MULTI; if (borderVisible) style |= SWT.BORDER; style &= ~SWT.CLOSE; if (showClose) style |= SWT.CLOSE; return style; } /**
/** * Tells whether this the breadcrumb is in LTR or RTL mode. * * @return <code>true</code> if the breadcrumb in left-to-right mode, <code>false</code> * otherwise */ private boolean isLTR() { return (fParentComposite.getStyle() & SWT.RIGHT_TO_LEFT) == 0; } }
@Override public int getStyle() { int style = super.getStyle(); style |= getOrientation() == SWT.VERTICAL ? SWT.VERTICAL : SWT.HORIZONTAL; if ((sashStyle & SWT.SMOOTH) != 0) style |= SWT.SMOOTH; return style; } /**
public int getStyle() { int style = super.getStyle(); style |= getOrientation() == SWT.VERTICAL ? SWT.VERTICAL : SWT.HORIZONTAL; if ((sashStyle & SWT.SMOOTH) != 0) style |= SWT.SMOOTH; return style; } /**
@Override public int getStyle() { int style = super.getStyle(); style |= getOrientation() == SWT.VERTICAL ? SWT.VERTICAL : SWT.HORIZONTAL; if ((sashStyle & SWT.SMOOTH) != 0) style |= SWT.SMOOTH; return style; } /**
@Override public int getStyle() { int style = super.getStyle(); style |= getOrientation() == SWT.VERTICAL ? SWT.VERTICAL : SWT.HORIZONTAL; if( ( sashStyle & SWT.SMOOTH ) != 0 ) { style |= SWT.SMOOTH; } return style; }
@Override public int getStyle() { int style = super.getStyle(); style |= getOrientation() == SWT.VERTICAL ? SWT.VERTICAL : SWT.HORIZONTAL; if ((sashStyle & SWT.SMOOTH) != 0) style |= SWT.SMOOTH; return style; } /**
public int getStyle () { int style = super.getStyle (); style &= ~SWT.READ_ONLY; if (!text.getEditable()) style |= SWT.READ_ONLY; return style; } /**
@Override public int getStyle () { int style = super.getStyle (); style &= ~SWT.READ_ONLY; if (!text.getEditable()) style |= SWT.READ_ONLY; return style; } /**
public int getStyle () { int style = super.getStyle (); style &= ~SWT.READ_ONLY; if (!text.getEditable()) style |= SWT.READ_ONLY; return style; } /**
@Override public int getStyle() { checkWidget(); int result = super.getStyle(); result &= ~( SWT.TOP | SWT.BOTTOM ); result |= onBottom ? SWT.BOTTOM : SWT.TOP; result &= ~( SWT.SINGLE | SWT.MULTI ); result |= single ? SWT.SINGLE : SWT.MULTI; if( borderLeft != 0 ) { result |= SWT.BORDER; } return result; }
/** * Tells whether this the breadcrumb is in LTR mode or RTL mode. Or whether the breadcrumb * is on the right-side status coolbar, which has the same effect on layout. * * @return <code>true</code> if the breadcrumb in left-to-right mode, <code>false</code> * otherwise */ private boolean isLeft() { return (fParentComposite.getStyle() & SWT.RIGHT_TO_LEFT) == 0 && (fParent.getViewer().getStyle() & SWT.RIGHT) == 0; }