| org.eclipse.ui.texteditor.rulers.IColumnSupport
IColumnSupport | public interface IColumnSupport (Code) | | Provides support to modify and query the visibility of
ruler columns and test whether a ruler column is supported.
This interface must not be implemented by clients.
since: 3.3 |
Method Summary | |
void | dispose() Removes and disposes all currently visible ruler columns. | boolean | isColumnSupported(RulerColumnDescriptor descriptor) Returns true if the column described by descriptor is
supported by the receiver's editor, false if id is not the
identifier of a known column contribution, if the column does not target the editor, or if
the editor does not support contributed columns. | boolean | isColumnVisible(RulerColumnDescriptor descriptor) Returns true if the column described by descriptor is
currently showing, false if not. | void | setColumnVisible(RulerColumnDescriptor descriptor, boolean visible) Attempts to set the visibility of the column described by descriptor . |
dispose | void dispose()(Code) | | Removes and disposes all currently visible ruler columns.
|
isColumnSupported | boolean isColumnSupported(RulerColumnDescriptor descriptor)(Code) | | Returns true if the column described by descriptor is
supported by the receiver's editor, false if id is not the
identifier of a known column contribution, if the column does not target the editor, or if
the editor does not support contributed columns.
Parameters: descriptor - the column descriptor true if the specified column is supported |
isColumnVisible | boolean isColumnVisible(RulerColumnDescriptor descriptor)(Code) | | Returns true if the column described by descriptor is
currently showing, false if not.
Parameters: descriptor - the column descriptor true if the specified column is currently visible |
setColumnVisible | void setColumnVisible(RulerColumnDescriptor descriptor, boolean visible)(Code) | | Attempts to set the visibility of the column described by descriptor . Nothing
happens if the visibility is already as requested, or if the column is not supported by the
editor.
Parameters: descriptor - the column descriptor Parameters: visible - true to show the column, false to hide it |
|
|