Package | Description |
---|---|
org.openide.awt | |
org.openide.loaders |
Datasystems
are the logical layer between a filesystem and higher-level file-oriented operations.
|
Modifier and Type | Method and Description |
---|---|
DataFolder |
ToolbarPool.getFolder() |
Constructor and Description |
---|
MenuBar(DataFolder folder)
Creates a new
MenuBar from given folder. |
ToolbarPool(DataFolder df)
Creates a new
ToolbarPool . |
Modifier and Type | Field and Description |
---|---|
protected DataFolder |
FolderInstance.folder
Folder to work with.
|
Modifier and Type | Method and Description |
---|---|
static DataFolder |
DataFolder.create(DataFolder folder,
String name)
Helper method to find or create a folder of a given path.
|
static DataFolder |
DataFolder.findFolder(FileObject fo)
Create a folder for a specified file object.
|
DataFolder |
DataObject.getFolder()
Get the folder this data object is stored in.
|
DataFolder |
TemplateWizard.getTargetFolder()
Getter for target folder.
|
DataFolder |
TemplateWizard.getTemplatesFolder()
Getter for the folder with templates.
|
Modifier and Type | Method and Description |
---|---|
protected InstanceCookie |
FolderLookup.acceptFolder(DataFolder df)
Deprecated.
Folder is recognized as underlying
FolderLookup which passes
its items to parent FolderLookup . |
protected InstanceCookie |
FolderInstance.acceptFolder(DataFolder df)
Allows subclasses to decide how they want to work with a
provided folder.
|
Map<String,?> |
CreateFromTemplateAttributesProvider.attributesFor(DataObject template,
DataFolder target,
String name)
Deprecated.
Called when a template is about to be instantiated to provide additional
values to the
CreateFromTemplateHandler that will handle the
template instantiation. |
DataObject |
DataObject.copy(DataFolder f)
Copy this object to a folder.
|
static DataShadow |
DataShadow.create(DataFolder folder,
DataObject original)
Method that creates new data shadow in a folder.
|
static DataFolder |
DataFolder.create(DataFolder folder,
String name)
Helper method to find or create a folder of a given path.
|
static InstanceDataObject |
InstanceDataObject.create(DataFolder folder,
String name,
Class<?> clazz)
Create a new
InstanceDataObject in a given folder. |
static DataShadow |
DataShadow.create(DataFolder folder,
String name,
DataObject original)
Method that creates new data shadow in a folder.
|
static DataShadow |
DataShadow.create(DataFolder folder,
String name,
DataObject original,
String ext)
Method that creates new data shadow in a folder.
|
static InstanceDataObject |
InstanceDataObject.create(DataFolder folder,
String name,
Object instance,
ModuleInfo info)
Create a new
InstanceDataObject containing settings
in a given folder. |
static InstanceDataObject |
InstanceDataObject.create(DataFolder folder,
String name,
Object instance,
ModuleInfo info,
boolean create)
Create a new
InstanceDataObject containing settings
in a given folder. |
static InstanceDataObject |
InstanceDataObject.create(DataFolder folder,
String name,
String className)
Create a new
InstanceDataObject in a given folder. |
DataObject |
DataObject.createFromTemplate(DataFolder f)
Create a new object from template (with a name depending on the template).
|
DataObject |
DataObject.createFromTemplate(DataFolder f,
String name)
Create a new object from template.
|
DataObject |
DataObject.createFromTemplate(DataFolder f,
String name,
Map<String,? extends Object> parameters)
More generic way how to instantiate a
DataObject . |
DataShadow |
DataObject.createShadow(DataFolder f)
Creates shadow for this object in specified folder.
|
static InstanceDataObject |
InstanceDataObject.find(DataFolder folder,
String name,
Class<?> clazz)
Finds instance of specified name in a given folder.
|
static InstanceDataObject |
InstanceDataObject.find(DataFolder folder,
String name,
String className)
Finds instance of specified name in a given folder.
|
protected DataObject |
DataFolder.handleCopy(DataFolder f) |
protected abstract DataObject |
DataObject.handleCopy(DataFolder f)
Copy this object to a folder (implemented by subclasses).
|
protected DataObject |
DataShadow.handleCopy(DataFolder f) |
protected DataObject |
MultiDataObject.handleCopy(DataFolder df)
Copies primary and secondary files to new folder.
|
protected DataObject |
InstanceDataObject.handleCopy(DataFolder df) |
protected DataObject |
DataObject.handleCopyRename(DataFolder f,
String name,
String ext)
Copy and rename this object to a folder (implemented by subclasses).
|
protected DataObject |
MultiDataObject.handleCopyRename(DataFolder df,
String name,
String ext) |
protected DataObject |
DataFolder.handleCreateFromTemplate(DataFolder f,
String name) |
protected abstract DataObject |
DataObject.handleCreateFromTemplate(DataFolder df,
String name)
Create a new data object from template (implemented in subclasses).
|
protected DataObject |
MultiDataObject.handleCreateFromTemplate(DataFolder df,
String name) |
protected DataObject |
InstanceDataObject.handleCreateFromTemplate(DataFolder df,
String name) |
protected DataShadow |
DataFolder.handleCreateShadow(DataFolder f)
Creates shadow for this object in specified folder (overridable in subclasses).
|
protected DataShadow |
DataObject.handleCreateShadow(DataFolder f)
Creates shadow for this object in specified folder (overridable in subclasses).
|
protected DataShadow |
DataShadow.handleCreateShadow(DataFolder f) |
protected FileObject |
DataFolder.handleMove(DataFolder df) |
protected abstract FileObject |
DataObject.handleMove(DataFolder df)
Move this object to another folder (implemented in subclasses).
|
protected FileObject |
DataShadow.handleMove(DataFolder f) |
protected FileObject |
MultiDataObject.handleMove(DataFolder df)
Moves primary and secondary files to a new folder.
|
void |
FolderRenameHandler.handleRename(DataFolder folder,
String newName) |
Set<DataObject> |
TemplateWizard.instantiate(DataObject template,
DataFolder targetFolder)
Chooses the template and instantiates it.
|
void |
DataObject.move(DataFolder df)
Move this object to another folder.
|
static boolean |
InstanceDataObject.remove(DataFolder folder,
String name,
Class<?> clazz)
Remove an existing instance data object.
|
static boolean |
InstanceDataObject.remove(DataFolder folder,
String name,
String className)
Remove an existing instance data object.
|
void |
TemplateWizard.setTargetFolder(DataFolder f)
Sets the target folder.
|
void |
TemplateWizard.setTemplatesFolder(DataFolder folder)
Setter for the folder with templates.
|
Constructor and Description |
---|
FolderInstance(DataFolder df)
Create new folder instance.
|
Index(DataFolder df)
Deprecated.
Please explicitly specify a node to be safe.
|
Index(DataFolder df,
Node node)
Create an index cookie associated with a data folder.
|