|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Interface that has to be implemented by contributions to the
org.eclipse.ui.texteditor.rulerColumns extension point.
Implementors must have a zero-argument constructor so that they can be created
by IConfigurationElement.createExecutableExtension(String).
| Method Summary | |
|---|---|
void |
columnCreated()
Hook method called after a column has been instantiated, but before it is added to a CompositeRuler and before
createControl
is called.
|
void |
columnRemoved()
Hook method called after a column has been removed from the CompositeRuler.
|
RulerColumnDescriptor |
getDescriptor()
Returns the extension point descriptor of this ruler. |
ITextEditor |
getEditor()
Returns the editor targeted by this ruler instance. |
void |
setDescriptor(RulerColumnDescriptor descriptor)
Sets the extension point descriptor of this ruler. |
void |
setEditor(ITextEditor editor)
Sets the editor (called right after the extension was instantiated). |
| Methods inherited from interface org.eclipse.jface.text.source.IVerticalRulerColumn |
|---|
createControl, getControl, getWidth, redraw, setFont, setModel |
| Method Detail |
public RulerColumnDescriptor getDescriptor()
null if called before columnCreated()public void setDescriptor(RulerColumnDescriptor descriptor)
This method will be called by the framework and must not be called by clients.
descriptor - the extension point descriptorpublic void setEditor(ITextEditor editor)
This method will be called by the framework and must not be called by clients.
editor - the editor targeted by this ruler instancepublic ITextEditor getEditor()
null if called before columnCreated()public void columnCreated()
CompositeRuler and before
createControl
is called.
This happens when
public void columnRemoved()
CompositeRuler.
This happens when
The column will not be used after this method has been called. A new column will be instantiated if the same column type should be shown for the same editor.
|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.