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

Uses of Class org.openide.loaders.DataObject (NetBeans Loaders API) - NetBeans API Javadoc 5.0.0

 

Uses of Class
org.openide.loaders.DataObject

Packages that use DataObject
org.openide.actions   
org.openide.loaders Datasystems are the logical layer between a filesystem and the regular functions of the IDE. 
org.openide.text   
 

Uses of DataObject in org.openide.actions
 

Methods in org.openide.actions with parameters of type DataObject
static Set InstantiateAction.instantiateTemplate(DataObject obj)
          Deprecated. Instantiate a template object.
 

Uses of DataObject in org.openide.loaders
 

Subclasses of DataObject in org.openide.loaders
 class DataFolder
          A folder containing data objects.
 class DataShadow
          Default implementation of a shortcut to another data object.
 class InstanceDataObject
          A data object whose only purpose is to supply InstanceCookie.
 class MultiDataObject
          Provides support for handling of data objects with multiple files.
 class XMLDataObject
          Object that provides main functionality for xml documents.
 

Methods in org.openide.loaders that return DataObject
 DataObject TemplateWizard.getTemplate()
          Getter for template to create object from.
 DataObject OperationEvent.getObject()
          Get the data object that has been modified.
 DataObject OperationEvent.Copy.getOriginalDataObject()
          Get the original data object.
protected  DataObject OpenSupport.Env.getDataObject()
          Getter for data object.
protected  DataObject MultiFileLoader.handleFindDataObject(FileObject fo, DataLoader.RecognizedFiles recognized)
           
protected  DataObject MultiDataObject.handleCopy(DataFolder df)
          Copies primary and secondary files to new folder.
protected  DataObject MultiDataObject.handleCreateFromTemplate(DataFolder df, String name)
           
static DataObject LoaderTransfer.getDataObject(Transferable t, int action)
          Obtain a DataObject from a transferable.
static DataObject[] LoaderTransfer.getDataObjects(Transferable t, int action)
          Obtain a list of DataObjects from a transferable.
protected  DataObject InstanceDataObject.handleCreateFromTemplate(DataFolder df, String name)
           
protected  DataObject InstanceDataObject.handleCopy(DataFolder df)
           
protected static DataObject DataShadow.deserialize(FileObject fileObject)
          Tries to load the original file from a shadow.
 DataObject DataShadow.getOriginal()
          Return the original shadowed object.
 DataObject[] DataShadow.getChildren()
          Implementation of Container interface.
protected  DataObject DataShadow.handleCopy(DataFolder f)
           
 DataObject DataObjectExistsException.getDataObject()
          Get the object which already exists.
static DataObject DataObject.find(FileObject fo)
          Finds the data object for a specified file object.
 DataObject DataObject.copy(DataFolder f)
          Copy this object to a folder.
protected abstract  DataObject DataObject.handleCopy(DataFolder f)
          Copy this object to a folder (implemented by subclasses).
 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.
protected abstract  DataObject DataObject.handleCreateFromTemplate(DataFolder df, String name)
          Create a new data object from template (implemented in subclasses).
 DataObject[] DataObject.Container.getChildren()
           
 DataObject[] DataObject.Registry.getModified()
          Get modified objects.
 DataObject DataNode.getDataObject()
          Get the represented data object.
 DataObject DataLoaderPool.findDataObject(FileObject fo)
          Find a data object for this file object (not for normal users of the APIs).
 DataObject DataLoaderPool.findDataObject(FileObject fo, DataLoader.RecognizedFiles r)
          Find a data object for this file object, considering already-recognized files (not for normal users of the APIs).
 DataObject DataLoader.findDataObject(FileObject fo, DataLoader.RecognizedFiles recognized)
          Find a data object appropriate to the given file object--the meat of this class.
protected abstract  DataObject DataLoader.handleFindDataObject(FileObject fo, DataLoader.RecognizedFiles recognized)
          Find a data object appropriate to the given file object (as implemented in subclasses).
 DataObject[] DataFolder.getChildren()
          Get the children of this folder.
protected  DataObject DataFolder.handleCopy(DataFolder f)
           
protected  DataObject DataFolder.handleCreateFromTemplate(DataFolder f, String name)
           
 

Methods in org.openide.loaders with parameters of type DataObject
 void TemplateWizard.setTemplate(DataObject obj)
          Sets the template.
 Set TemplateWizard.instantiate(DataObject template)
          Chooses the template and instantiates it.
 Set TemplateWizard.instantiate(DataObject template, DataFolder targetFolder)
          Chooses the template and instantiates it.
static void TemplateWizard.setDescription(DataObject obj, URL url)
          Method to attach a description to a data object.
static URL TemplateWizard.getDescription(DataObject obj)
          Method to get a description for a data object.
static void TemplateWizard.setDescriptionAsResource(DataObject obj, String rsrc)
          Deprecated. Use TemplateWizard.setDescription(org.openide.loaders.DataObject, java.net.URL) instead.
static String TemplateWizard.getDescriptionAsResource(DataObject obj)
          Deprecated. Use TemplateWizard.getDescription(org.openide.loaders.DataObject) instead.
static void TemplateWizard.setIterator(DataObject obj, TemplateWizard.Iterator iter)
          Deprecated. since 2.13 you should provide the iterator from getCookie method
static TemplateWizard.Iterator TemplateWizard.getIterator(DataObject obj)
          Finds a custom iterator attached to a template that should be used to instantiate the object.
static ExTransferable.Single LoaderTransfer.transferable(DataObject d, int actions)
          Creates transferable that represents an operation, such as cut-to-clipboard.
protected  Object FolderLookup.instanceForCookie(DataObject dobj, InstanceCookie cookie)
          Overrides superclass method.
protected  InstanceCookie FolderInstance.acceptDataObject(DataObject dob)
          Allows subclasses to decide whether they want to work with the specified DataObject or not.
protected  Object FolderInstance.instanceForCookie(DataObject obj, InstanceCookie cookie)
          Method that is called when a the folder instance really wants to create an object from provided cookie.
static Lookup Environment.find(DataObject obj)
          Finds a lookup for given data object.
static Context Environment.findSettingsContext(DataObject obj)
          Finds a JNDI context for a given data object.
 Lookup Environment.Provider.getEnvironment(DataObject obj)
          Returns a lookup that represents environment.
static DataShadow DataShadow.create(DataFolder folder, DataObject original)
          Method that creates new data shadow in a 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.
 void DataFolder.setOrder(DataObject[] arr)
          Set the order of the children.
 boolean DataFilter.acceptDataObject(DataObject obj)
          Should the data object be displayed or not?
 

Constructors in org.openide.loaders with parameters of type DataObject
OpenSupport.Env(DataObject obj)
          Constructor.
DataShadow(FileObject fo, DataObject original, MultiFileLoader loader)
          Constructs new data shadow for given primary file and referenced original.
DataShadow(FileObject fo, DataObject original, DataLoader loader)
          Deprecated. Since 1.13 do not use this constructor, it is for backward compatibility only
DataObjectExistsException(DataObject obj)
          Create new exception.
DataNode(DataObject obj, Children ch)
          Create a data node with the given children set for the given data object.
DataNode(DataObject obj, Children ch, Lookup lookup)
          Create a data node for a given data object.
 

Uses of DataObject in org.openide.text
 

Fields in org.openide.text declared as DataObject
protected  DataObject EditorSupport.Editor.obj
          data object to work with
 

Methods in org.openide.text that return DataObject
 DataObject DataEditorSupport.getDataObject()
          Getter of the data object that this support is associated with.
static DataObject DataEditorSupport.findDataObject(Line l)
          Support method that extracts a DataObject from a Line.
 

Methods in org.openide.text with parameters of type DataObject
static CloneableEditorSupport DataEditorSupport.create(DataObject obj, MultiDataObject.Entry entry, CookieSet set)
          Factory method to create simple CloneableEditorSupport for a given entry of a given DataObject.
 

Constructors in org.openide.text with parameters of type DataObject
EditorSupport.Editor(DataObject obj)
          Constructor
EditorSupport.Editor(DataObject obj, EditorSupport support)
          Constructor
DataEditorSupport(DataObject obj, CloneableEditorSupport.Env env)
          Editor support for a given data object.
DataEditorSupport.Env(DataObject obj)
          Constructor.
 


 

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