net.sf.colorer.eclipse.editors
Class ColorerEditor

java.lang.Object
  extended byTextEditor
      extended bynet.sf.colorer.eclipse.editors.ColorerEditor

public class ColorerEditor
extends TextEditor


Constructor Summary
ColorerEditor()
           
 
Method Summary
 void chooseFileType()
          Selects filetype according to file name and first line of content
 void createPartControl(Composite parent)
           
 void dispose()
           
protected  void editorContextMenuAboutToShow(IMenuManager parentMenu)
           
 java.lang.Object getAdapter(java.lang.Class key)
           
 java.lang.String getFileType()
          Returns currently used file type
 void matchPair()
          Tries to match paired construction
 void propertyChange(PropertyChangeEvent e)
           
 void relinkColorer()
          Reloads coloring highlighting in this editor
 void selectContentPair()
          Selects content of paired construction
 void selectPair()
          Selects paired construction
 void setFileType(java.lang.String type)
          Selects file's type according to the passed type name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorerEditor

public ColorerEditor()
Method Detail

createPartControl

public void createPartControl(Composite parent)

chooseFileType

public void chooseFileType()
Selects filetype according to file name and first line of content


setFileType

public void setFileType(java.lang.String type)
Selects file's type according to the passed type name


getFileType

public java.lang.String getFileType()
Returns currently used file type


relinkColorer

public void relinkColorer()
Reloads coloring highlighting in this editor


matchPair

public void matchPair()
Tries to match paired construction


selectPair

public void selectPair()
Selects paired construction


selectContentPair

public void selectContentPair()
Selects content of paired construction


editorContextMenuAboutToShow

protected void editorContextMenuAboutToShow(IMenuManager parentMenu)

propertyChange

public void propertyChange(PropertyChangeEvent e)

getAdapter

public java.lang.Object getAdapter(java.lang.Class key)

dispose

public void dispose()


Copyright © 2003 Cail Lomecb. All Rights Reserved.