com.pnp.xfeature.project
Class XMLConfiguration

java.lang.Object
  extended by SourceViewerConfiguration
      extended by com.pnp.xfeature.project.XMLConfiguration

public class XMLConfiguration
extends SourceViewerConfiguration

Specifies the ehavior of the XML editor/viewer


Constructor Summary
XMLConfiguration(ColorManager colorManager)
           
 
Method Summary
 java.lang.String[] getConfiguredContentTypes(ISourceViewer sourceViewer)
          returns the configuration items array
 ITextDoubleClickStrategy getDoubleClickStrategy(ISourceViewer sourceViewer, java.lang.String contentType)
          returns the configuration item
 IPresentationReconciler getPresentationReconciler(ISourceViewer sourceViewer)
          creates a PresentationReconciler utility object and configures it
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLConfiguration

public XMLConfiguration(ColorManager colorManager)
Method Detail

getConfiguredContentTypes

public java.lang.String[] getConfiguredContentTypes(ISourceViewer sourceViewer)
returns the configuration items array


getDoubleClickStrategy

public ITextDoubleClickStrategy getDoubleClickStrategy(ISourceViewer sourceViewer,
                                                       java.lang.String contentType)
returns the configuration item


getPresentationReconciler

public IPresentationReconciler getPresentationReconciler(ISourceViewer sourceViewer)
creates a PresentationReconciler utility object and configures it

Returns:
a scanner


Copyright © 2004 - 2008 ETH Zurich and P&P Software GmbH, All Rights Reserved.