Class Index | File Index

Classes


Class orion.styler.AbstractStyler

orion.styler.AbstractStyler
Defined in: </shared/eclipse/e4/orion/I201106031245/plugins/org.eclipse.orion.client.core/web/orion/editor/textMateStyler.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
A styler that does nothing, but can be extended by concrete stylers.
Method Summary
Method Attributes Method Name and Description
 
To be overridden by subclass.
 
To be overridden by subclass.
 
To be overridden by subclass.
 
To be overridden by subclass.
 
Destroys this styler and removes all listeners.
<static>  
orion.styler.AbstractStyler.extend(subCtor, proto)
Helper for extending AbstractStyler.
 
initialize(editor)
Initializes this styler with an editor.
Class Detail
orion.styler.AbstractStyler()
A styler that does nothing, but can be extended by concrete stylers. Extenders can call orion.styler.AbstractStyler.extend and provide their own #_onSelection, #_onModelChanged, #_onDestroy and #_onLineStyle methods.
Method Detail
_onDestroy(e)
To be overridden by subclass.
Parameters:
{eclipse.DestroyEvent} e

_onLineStyle(e)
To be overridden by subclass.
Parameters:
{eclipse.LineStyleEvent} e

_onModelChanged(e)
To be overridden by subclass.
Parameters:
{eclipse.ModelChangedEvent} e

_onSelection(e)
To be overridden by subclass.
Parameters:
{eclipse.SelectionEvent} e

destroy()
Destroys this styler and removes all listeners. Called by the editor.

<static> orion.styler.AbstractStyler.extend(subCtor, proto)
Helper for extending AbstractStyler.
Parameters:
{Function} subCtor
The constructor function for the subclass.
{Object} proto Optional
Object to be mixed into the subclass's prototype. This object can contain your implementation of _onSelection, _onModelChanged, etc.
See:
orion.styler.TextMateStyler for example usage.

initialize(editor)
Initializes this styler with an editor. Extenders must call this from their constructor.
Parameters:
{orion.textview.TextView} editor

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Jun 03 2011 12:56:37 GMT-0400 (EDT)