com.aptana.ide.editor.jscomment
Class JSCommentContributor

java.lang.Object
  extended by com.aptana.ide.editors.unified.BaseContributor
      extended by com.aptana.ide.editor.jscomment.JSCommentContributor
All Implemented Interfaces:
IUnifiedEditorContributor

public class JSCommentContributor
extends BaseContributor

Author:
Robin Debreuil

Field Summary
 
Fields inherited from class com.aptana.ide.editors.unified.BaseContributor
parent
 
Constructor Summary
JSCommentContributor()
          JSCommentContributor
 
Method Summary
 void dispose()
          Disposes the contributor
 org.eclipse.jface.text.IAutoEditStrategy[] getLocalAutoEditStrategies(org.eclipse.jface.text.source.ISourceViewer sourceViewer, java.lang.String contentType)
          Gets the AutoEditStrategies for the local language type
 UnifiedReconcilingStrategy getReconcilingStrategy()
          Gets the ReconcilingStrategy that is used by the various languages in the editor
 
Methods inherited from class com.aptana.ide.editors.unified.BaseContributor
configLocalPresentationReconciler, configPresentationReconciler, findChildContributor, getAutoEditStrategies, getBracketInserter, getChildContributors, getContentAssistProcessor, getContentTypes, getDoubleClickStrategy, getFileContext, getIndentPrefixes, getIndentString, getLocalBracketInserter, getLocalContentAssistProcessor, getLocalContentType, getLocalIndentPrefixes, getLocalTextHover, getParentConfiguration, getTextHover, isAutoActivateContentAssist, isValidActivationCharacter, isValidIdentifier, setAllIndentPrefixes, setFileContext, setIndentPrefixes, setLocalIndentPrefixes, setParent, setParentConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSCommentContributor

public JSCommentContributor()
JSCommentContributor

Method Detail

getReconcilingStrategy

public UnifiedReconcilingStrategy getReconcilingStrategy()
Description copied from interface: IUnifiedEditorContributor
Gets the ReconcilingStrategy that is used by the various languages in the editor

Returns:
UnifiedReconcilingStrategy
See Also:
IUnifiedEditorContributor.getReconcilingStrategy()

getLocalAutoEditStrategies

public org.eclipse.jface.text.IAutoEditStrategy[] getLocalAutoEditStrategies(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
                                                                             java.lang.String contentType)
Description copied from interface: IUnifiedEditorContributor
Gets the AutoEditStrategies for the local language type

Specified by:
getLocalAutoEditStrategies in interface IUnifiedEditorContributor
Overrides:
getLocalAutoEditStrategies in class BaseContributor
Returns:
IAutoEditStrategy[]
See Also:
BaseContributor.getLocalAutoEditStrategies(org.eclipse.jface.text.source.ISourceViewer, java.lang.String)

dispose

public void dispose()
Description copied from interface: IUnifiedEditorContributor
Disposes the contributor

Specified by:
dispose in interface IUnifiedEditorContributor
Overrides:
dispose in class BaseContributor
See Also:
IUnifiedEditorContributor.dispose()