Package org.eclipse.wst.sse.ui

Examples of org.eclipse.wst.sse.ui.StructuredTextEditor$OutlinePageListener


    protected void createEditorPages() throws PartInitException
    {
        addDeferredPage( "Map", "DiagramPage" );
        addDeferredPage( "Details", "DetailsPage" );
       
        this.mapSourceEditor = new StructuredTextEditor();
        this.mapSourceEditor.setEditorPart(this);
       
        int index = addPage( this.mapSourceEditor, getEditorInput() );
        setPageText( index, "Source" );
    }
View Full Code Here


    protected void createEditorPages() throws PartInitException
    {
        addDeferredPage( "Schema", "DiagramPage" );
        addDeferredPage( "Details", "DetailsPage" );
       
        this.schemaSourceEditor = new StructuredTextEditor();
        this.schemaSourceEditor.setEditorPart(this);
       
        int index = addPage( this.schemaSourceEditor, getEditorInput() );
        setPageText( index, "Source" );
    }
View Full Code Here

    protected void createEditorPages() throws PartInitException
    {
        addDeferredPage( "General", "GeneralPage" );
        addDeferredPage( "Entries", "EntriesPage" );
       
        this.sourcePage = new StructuredTextEditor();
        this.sourcePage.setEditorPart( this );
       
        int index = addPage( this.sourcePage, getEditorInput() );
        setPageText( index, "Source" );
    }
View Full Code Here

    protected void createEditorPages() throws PartInitException
    {
        addDeferredPage( PAGE_CALENDAR, PAGE_CALENDAR );
        addDeferredPage( PAGE_CONTACTS, PAGE_CONTACTS );
       
        this.calendarSourceEditor = new StructuredTextEditor();
        this.calendarSourceEditor.setEditorPart(this);
       
        final FileEditorInput rootEditorInput = (FileEditorInput) getEditorInput();
       
        int index = addPage( this.calendarSourceEditor, rootEditorInput );
        setPageText( index, "calendar.xml" );

        this.contactsSourceEditor = new StructuredTextEditor();
        this.contactsSourceEditor.setEditorPart(this);
       
        final IFile contactsFile = rootEditorInput.getFile().getParent().getFile( new Path( "contacts.xml" ) );
       
        index = addPage( this.contactsSourceEditor, new FileEditorInput( contactsFile ) );
View Full Code Here

    protected void createEditorPages() throws PartInitException
    {
        addDeferredPage( "Architecture", "DiagramPage" );
        addDeferredPage( "Details", "DetailsPage" );
       
        this.pageSource = new StructuredTextEditor();
        this.pageSource.setEditorPart( this );
       
        int index = addPage( this.pageSource, getEditorInput() );
        setPageText( index, "Source" );
    }
View Full Code Here

   * @param index
   *            the page index
   */
  private void createSourcePage(int index) {
    try {
      sourceEditor = new StructuredTextEditor();
      IEditorInput editorInput = getEditorInput();
      if (editorInput instanceof ICamelEditorInput) {
        ICamelEditorInput camelEditorInput = (ICamelEditorInput) editorInput;
        editorInput = camelEditorInput.getFileEditorInput();
      }
View Full Code Here

   */
  @Override
  protected void pageChange(int newPageIndex) {
    super.pageChange(newPageIndex);
    if (newPageIndex == SOURCE_PAGE_INDEX) {
      if (sourceEditor == null) sourceEditor = new StructuredTextEditor();
      updatedDesignPage();
    } else {
      updatedTextPage();
    }
  }
View Full Code Here

    @Override
    protected void createEditorPages() throws PartInitException
    {
        addDeferredPage( "Diagram", "DiagramPage" );
       
        this.sourceEditorPage = new StructuredTextEditor();
        this.sourceEditorPage.setEditorPart( this );
       
        int index = addPage( this.sourceEditorPage, getEditorInput() );
        setPageText( index, "Source" );
    }
View Full Code Here

        }
        sourceEditor.addPropertyListener(sourcePropertyListener);
    }

    protected void createMetadataPage() {
        metadataEditor = new StructuredTextEditor();
        metadataEditor.setEditorPart(this);
        if (metadataPropertyListener == null) {
            metadataPropertyListener = new PropertyListener();
        }
        metadataEditor.addPropertyListener(metadataPropertyListener);
View Full Code Here

            apexCodeEditor = new ApexCodeEditor(project);
        }
    }

    private void createMetadataPage() {
        metadataEditor = new StructuredTextEditor();
        metadataEditor.setEditorPart(this);
    }
View Full Code Here

TOP

Related Classes of org.eclipse.wst.sse.ui.StructuredTextEditor$OutlinePageListener

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.