Skip navigation links

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

DefaultAWTBridgeExportedPrivate .../openide/awt/DefaultAWTBridge.java

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

WeakListener.setAccessibleImportedUnder Development

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

.../org/openide/util/WeakListeners.html

used to call the remove method using reflection

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.

Group of property interfaces
Interface NameIn/OutStabilitySpecified in What Document?
BrandingSupportExportedOfficial .../org/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.

urlExportedPrivate

Images loaded by ImageUtilities.loadImage defines "url" image property for the loaded image.

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

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.

LookupErrorManagerExportedUnder Development

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


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