NetBeans Architecture Answers for Utilities API module

WARNING: answering questions version 1.25 rather than the current 1.29.

Interfaces table

Group of java interfaces
Interface NameIn/OutStabilitySpecified in What Document?
UtilitiesAPIExportedOfficial .../org/openide/util/doc-files/api.html

AWTBridgeExportedPrivate .../modules/openide/util/AWTBridge.java

a class that is looked up in Lookup.getDefault() and if registered can provide better UI elements for Actions.

LookupAPIImportedOfficial

The module is needed for compilation. The module is used during runtime. Specification version 8.14 is required.

ParserFactoryImportedPrivate

The
XMLUtil class is loading a class from core/core.jar to initialize the correct parser factory. This is a fix for issue 68942.

SharedClassObject.setAccessibleExportedUnder Development .../org/openide/util/SharedClassObject.html

used to instantiate subclasses.

WeakListener.setAccessibleExportedUnder Development .../org/openide/util/WeakListeners.html

used to call the remove method using reflection

Group of property interfaces
Interface NameIn/OutStabilitySpecified in What Document?
BrandingSupportExportedOfficialorg/openide/util/NbBundle.html

which is similar to localization but also supports changes of resorces for application build on top of NetBeans. This is handled by our class NbBundle which reimplements the JDK's standard ResourceBundle to to take branding into the consideration.

HelpIDExportedStandardorg/openide/util/HelpCtx.html

read from JComponent.getClientProperty to simulate the standard javahelp behaviour and extract the help id for given component.

iconBaseImportedStandard

SystemAction reacts to expected requests from UI Utilities module for iconBase property by returning value based on its result of its iconResource() method.

org.openide.util.SharedClassObject.initializeExportedPrivate

For purposes of SystemOption the
SharedClassObject handles getProperty ("org.openide.util.SharedClassObject.initialize") in a special way, by returning null if initialization is not running and Boolean.TRUE if it is.

OpenIDE-Transmodal-ActionExportedUnder Development

CallbackSystemAction checks whether action.getValue("OpenIDE-Transmodal-Action") returns Boolean.TRUE to enable it in dialogs, otherwise the action is disabled when there is an open dialog.

Group of java.io.File interfaces
Interface NameIn/OutStabilitySpecified in What Document?
FileLocationExportedUnder Development

the JAR file is located in platform cluster under lib/org-openide-util.jar

TranslateNamesExportedOfficialorg/openide/util/Utilities.html

Utilities.translate reads META-INF/netbeans/translate.names files from JARs

Group of systemproperty interfaces
Interface NameIn/OutStabilitySpecified in What Document?
netbeans.screen.insetsExportedPrivate

Influences results of Utilities.getUsableScreenBounds

netbeans.taskbar.heightExportedPrivate

Influences results of Utilities.getUsableScreenBounds

line.separatorImportedStandard

used on few places

org.openide.util.RequestProcessor.inactiveTimeExportedPrivate

Specifies the time in ms unused
RequestProcessor processor threads remain around, until they get GCed. By default 60s. Primarily used from tests.

Group of lookup interfaces
Interface NameIn/OutStabilitySpecified in What Document?
ActionManagerInvocationExportedPrivate

because of the API separation,
CallableSystemAction uses lookup for ActionsBridge provided by org-openide-actions module when looking for org.openide.actions.ActionManager implementation.

LookupSharedClassObjectExportedUnder Development

singleton subclasses of
SharedClassObject are searched for using Lookup.

LookupContextGlobalProviderExportedStable

actionsGlobalContext searches for ContextGlobalProvider in Lookup.getDefault(). The provider is usually provided by window system implementation.

LookupEntityCatalogExportedUnder Development

EntityCatalog delegates its methods to all instances of EntityCatalogs found in Lookup

LookupErrorManagerExportedUnder Development

ErrorManager delegates its methods to all instances of ErrorManagers found in Lookup

LookupClassLoaderExportedUnder Development

Nearly all resource looking functions and reflective code uses
ClassLoader obtained from Lookup.getDefault() for loading system wide resources.


General Information


Project and platform dependencies


Deployment


Compatibility with environment


Access to resources


Lookup of components


Execution Environment


Format of files and protocols


Performance and Scalability


Built on August 25 2014.  |  Portions Copyright 1997-2014 Oracle. All rights reserved.