See: Description
Package | Description |
---|---|
org.openide.actions | |
org.openide.awt | |
org.openide.loaders |
Datasystems
are the logical layer between a filesystem and higher-level file-oriented operations.
|
org.openide.text |
This module provides API (read more) that works on top of file objects and gives each file a logical behaviour - icon, name, operations, etc.
DataFolder.createFromTemplate
honors passed in
parameters for all its children, unless special
CreateFromTemplateHandler
takes over the
instantiation process.
A branding API to disable showing on close and on save editor dialogs - ASK_OnSaving & ASK_OnClosing.
Creation of TargetFolder can be deferred by using TemplateWizard.setTargetFolderLazy(Supplier<DataFolder>) .
Now it's possible to register actions with toggle property into Toolbar to get a toggle button.
Added support for natural sorting of DataObjects. This means that the sort is case insensitive and number sequences are sorted by value rather than lexicographically.
Often many people require ability to create a "clever" template - e.g. write piece of simple text and at the time of its processing do some advanced changes to it using either scripting or templating languages.
This traditionally used to be a bit complicated task, however since
version 6.1 there are new interfaces
The support was moved to a new module; please see api.templates module for more information.
Loaders/folder/any/Actions
so if any module wishes
to extend, hide or reorder some of them it can just register its actions there.
<folder name="Loaders" > <folder name="folder" > <folder name="any" > <folder name="Actions" > <file name="org-mymodule-MyAction.instance" > <attr name="instanceCreate" stringvalue="org.mymodule.MyAction" /> </file> </folder> </folder> </folder> </folder>As described in general actions registration tutorial. This functionality is available since version 5.0 of the loaders module. Please use
OpenIDE-Module-Module-Dependencies: org.openide.loaders > 5.0
in your
module dependencies.
In version 5.8 all the standard loaders were changed to read actions from layer:
Loaders/text/xml/Actions
Loaders/content/unknown/Actions
Loaders/application/x-nbsettings/Actions
DataObject
s produced by your DataLoader
and you
are either using DataNode
or its subclass, you can just override
protected String actionsContext()
method to return non-null
location of context in layers from where to read the actions.
The usual value should match Loaders/mime/type/Actions
scheme,
for example java is using Loaders/text/x-java/Actions
, but
the name can be arbitrary.
This functionality is available since version 5.0 of the loaders module. Please use
OpenIDE-Module-Module-Dependencies: org.openide.loaders > 5.0
in your
module dependencies.
|
|
|
|
|
|
|
|
The sources for the module are in the Apache Git repositories or in the GitHub repositories.
XXX no answer for deploy-dependencies
Read more about the implementation in the answers to architecture questions.