|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.texteditor.rulers.RulerColumnRegistry
A registry for all extensions to the
rulerColumns
extension point.
Method Summary | |
---|---|
RulerColumnDescriptor |
getColumnDescriptor(String id)
Returns the RulerColumnDescriptor with the given identity, null if no
such descriptor exists. |
List |
getColumnDescriptors()
Returns the list of RulerColumnDescriptor s describing all extensions to the
rulerColumns extension point. |
static RulerColumnRegistry |
getDefault()
Returns the default computer registry. |
void |
reload()
Reloads the extensions to the extension point. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static RulerColumnRegistry getDefault()
TODO keep this or add some other singleton, e.g. TextEditorPlugin?
public List getColumnDescriptors()
RulerColumnDescriptor
s describing all extensions to the
rulerColumns
extension point. The list's iterator traverses the descriptors in
the ordering implied by the placement specifications of the contributions.
The returned list is unmodifiable and guaranteed to never change. Note that the set of descriptors may change over time due to dynamic plug-in removal or addition.
rulerColumns
extension point
(element type: RulerColumnDescriptor
)public RulerColumnDescriptor getColumnDescriptor(String id)
RulerColumnDescriptor
with the given identity, null
if no
such descriptor exists.
id
- the identity of the ruler contribution as given in the extension point xml.
RulerColumnDescriptor
with the given identity, null
if no
such descriptor existspublic void reload()
This method can be called more than once in order to reload from a changed extension registry.
|
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.