com.aptana.ide.editor.css
Class CSSContributor

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

public class CSSContributor
extends BaseContributor

Author:
Robin Debreuil

Field Summary
 
Fields inherited from class com.aptana.ide.editors.unified.BaseContributor
parent
 
Constructor Summary
CSSContributor()
          CSSContributor
 
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
 IUnifiedBracketInserter getLocalBracketInserter(org.eclipse.jface.text.source.ISourceViewer sourceViewer, java.lang.String contentType)
          Gets the local bracket isnerter for all the various languages in the editor
 org.eclipse.jface.text.contentassist.IContentAssistProcessor getLocalContentAssistProcessor(org.eclipse.jface.text.source.ISourceViewer sourceViewer, java.lang.String contentType)
          Gets the ContentAssistProcessor for the local language type
 UnifiedReconcilingStrategy getReconcilingStrategy()
          Gets the ReconcilingStrategy that is used by the various languages in the editor
 boolean isAutoActivateContentAssist()
          Should content assist auto activate
 boolean isValidActivationCharacter(char c, int keyCode)
          isValidActivationCharacter
 boolean isValidIdentifier(char c, int keyCode)
          isValidIdentifier
 
Methods inherited from class com.aptana.ide.editors.unified.BaseContributor
configLocalPresentationReconciler, configPresentationReconciler, findChildContributor, getAutoEditStrategies, getBracketInserter, getChildContributors, getContentAssistProcessor, getContentTypes, getDoubleClickStrategy, getFileContext, getIndentPrefixes, getIndentString, getLocalContentType, getLocalIndentPrefixes, getLocalTextHover, getParentConfiguration, getTextHover, 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

CSSContributor

public CSSContributor()
CSSContributor

Method Detail

getLocalContentAssistProcessor

public org.eclipse.jface.text.contentassist.IContentAssistProcessor getLocalContentAssistProcessor(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
                                                                                                   java.lang.String contentType)
Description copied from interface: IUnifiedEditorContributor
Gets the ContentAssistProcessor for the local language type

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

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()

isValidIdentifier

public boolean isValidIdentifier(char c,
                                 int keyCode)
Description copied from class: BaseContributor
isValidIdentifier

Specified by:
isValidIdentifier in interface IUnifiedEditorContributor
Overrides:
isValidIdentifier in class BaseContributor
Returns:
boolean
See Also:
IUnifiedEditorContributor.isValidIdentifier(char, int)

isValidActivationCharacter

public boolean isValidActivationCharacter(char c,
                                          int keyCode)
Description copied from class: BaseContributor
isValidActivationCharacter

Specified by:
isValidActivationCharacter in interface IUnifiedEditorContributor
Overrides:
isValidActivationCharacter in class BaseContributor
Returns:
boolean
See Also:
IUnifiedEditorContributor.isValidActivationCharacter(char, int)

isAutoActivateContentAssist

public boolean isAutoActivateContentAssist()
Description copied from interface: IUnifiedEditorContributor
Should content assist auto activate

Specified by:
isAutoActivateContentAssist in interface IUnifiedEditorContributor
Overrides:
isAutoActivateContentAssist in class BaseContributor
Returns:
true to show, false to not
See Also:
BaseContributor.isAutoActivateContentAssist()

getLocalBracketInserter

public IUnifiedBracketInserter getLocalBracketInserter(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
                                                       java.lang.String contentType)
Description copied from interface: IUnifiedEditorContributor
Gets the local bracket isnerter for all the various languages in the editor

Specified by:
getLocalBracketInserter in interface IUnifiedEditorContributor
Overrides:
getLocalBracketInserter in class BaseContributor
Returns:
IUnifiedBracketInserter
See Also:
IUnifiedEditorContributor.getLocalBracketInserter(ISourceViewer, String)