Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.editor.spi
Class MappingInfo  view MappingInfo download MappingInfo.java

java.lang.Object
  extended byjavax.ide.editor.spi.MappingInfo

public final class MappingInfo
extends java.lang.Object

Record of information identifying an editor class that can open documents of a particular class.


Field Summary
private  java.lang.String _editorClass
           
private  boolean _preferred
           
 
Constructor Summary
MappingInfo(java.lang.String editorClass, boolean isPreferred)
          Constructor.
 
Method Summary
 java.lang.String getEditorClass()
          Get the editor class.
 boolean isPreferred()
          Get whether this editor class is the preferred editor for a given document type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_editorClass

private java.lang.String _editorClass

_preferred

private boolean _preferred
Constructor Detail

MappingInfo

public MappingInfo(java.lang.String editorClass,
                   boolean isPreferred)
Constructor.

Method Detail

getEditorClass

public java.lang.String getEditorClass()
Get the editor class.


isPreferred

public boolean isPreferred()
Get whether this editor class is the preferred editor for a given document type. How this is interpreted is IDE specific.