站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

ImplementationProvider (Editor Library) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.editor.lib/1 1.14.0 3

org.netbeans.editor
Class ImplementationProvider

java.lang.Object
  extended by org.netbeans.editor.ImplementationProvider

Deprecated. See org.netbeans.spi.editor.lib2.EditorImplementationProvider

public abstract class ImplementationProvider
extends Object

This is provider of implementation. This package (org.netbeans.editor) represent editor core which can be used independently on the rest of NetBeans. However this core needs access to higher level functionality like access to localized bundles, access to settings storage, etc. which can be implemented differently by the applications which uses this editor core. For this purpose was created this abstract class and it can be extended with any other methods which are more and more often required by core editor. Example implementation of this provider can be found in org.netbeans.modules.editor package

Since:
10/2001

Constructor Summary
ImplementationProvider()
          Deprecated.  
 
Method Summary
 boolean activateComponent(JTextComponent c)
          Deprecated. Activates the given component or one of its ancestors.
static ImplementationProvider getDefault()
          Deprecated. Returns currently registered provider
abstract  Action[] getGlyphGutterActions(JTextComponent target)
          Deprecated. This is temporary method which allows core editor to access glyph gutter action.
abstract  ResourceBundle getResourceBundle(String localizer)
          Deprecated. Returns ResourceBundle for the given class.
static void registerDefault(ImplementationProvider prov)
          Deprecated. Register your own provider through this method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImplementationProvider

public ImplementationProvider()
Deprecated. 
Method Detail

getDefault

public static ImplementationProvider getDefault()
Deprecated. 
Returns currently registered provider


registerDefault

public static void registerDefault(ImplementationProvider prov)
Deprecated. 
Register your own provider through this method


getResourceBundle

public abstract ResourceBundle getResourceBundle(String localizer)
Deprecated. 
Returns ResourceBundle for the given class.


getGlyphGutterActions

public abstract Action[] getGlyphGutterActions(JTextComponent target)
Deprecated. 
This is temporary method which allows core editor to access glyph gutter action. These actions are then used when user clicks on glyph gutter. In next version this should be removed and redesigned as suggested in issue #16762


activateComponent

public boolean activateComponent(JTextComponent c)
Deprecated. 
Activates the given component or one of its ancestors.

Returns:
whether the component or one of its ancestors was succesfuly activated

org.netbeans.modules.editor.lib/1 1.14.0 3

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.