Package org.eclipse.wst.xml.ui.internal.provisional

Examples of org.eclipse.wst.xml.ui.internal.provisional.IDOMSourceEditingTextTools


   * @param editor
   */
  public SourceViewerCommand(String label, StructuredTextEditor editor) {
    super();
    _editor = editor;
    IDOMSourceEditingTextTools tools = getSourceEditingTextTools();
    _document = tools.getDOMDocument();
  }
View Full Code Here


  /**
   * @return the text tools
   */
  protected IDOMSourceEditingTextTools getSourceEditingTextTools() {
    IDOMSourceEditingTextTools tools = (IDOMSourceEditingTextTools) _editor
        .getAdapter(ISourceEditingTextTools.class);
    return tools;
  }
View Full Code Here

        this.rootModelElement = null;
        this.xmlNodeToModelElementsMap = new IdentityHashMap<Node,Object>();
        this.sourceEditorService = new XmlSourceEditorService();
       
        final ISourceEditingTextTools sourceEditingTextTools = (ISourceEditingTextTools) this.sourceEditor.getAdapter( ISourceEditingTextTools.class );
        final IDOMSourceEditingTextTools domSourceEditingTextTools = (IDOMSourceEditingTextTools) sourceEditingTextTools;
       
        setDomDocument( domSourceEditingTextTools.getDOMDocument() );
       
        this.xmlNodeListener = new INodeAdapter()
        {
            public boolean isAdapterForType( final Object type )
            {
View Full Code Here

TOP

Related Classes of org.eclipse.wst.xml.ui.internal.provisional.IDOMSourceEditingTextTools

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.