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

Quick Search    Search Deep

Source code: javax/ide/editor/spi/DisplayInfo.java


1   package javax.ide.editor.spi;
2   
3   /**
4    * Display information for an editor class.
5    */
6   public final class DisplayInfo 
7   {
8     private final String _name;
9     
10    public DisplayInfo( String name )
11    {
12      _name = name;
13    }
14    
15    /**
16     * Get the name of this editor type as it should be displayed to the user.
17     * 
18     * @return the name of this editor type.
19     */
20    public String getName()
21    {
22      return _name;
23    }
24    
25    public String toString()
26    {
27      return _name;
28    }
29  }