/** Chooses the template and instantiates it. * * @param template predefined template that should be instantiated * @return set of instantiated data objects (DataObject) * or null if user canceled the dialog * @exception IOException I/O error */ public java.util.Set instantiate (DataObject template) throws IOException { showTargetChooser = true; return instantiateImpl (template, null); }
/** Chooses the template and instantiates it. * @return set of instantiated data objects (DataObject) * or null if user canceled the dialog * @exception IOException I/O error */ public java.util.Set instantiate () throws IOException { showTargetChooser = true; return instantiateImpl (null, null); }
/** Chooses the template and instantiates it. * * @param template predefined template that should be instantiated * @param targetFolder the target folder * * @return set of instantiated data objects (DataObject) * or null if user canceled the dialog * @exception IOException I/O error */ public java.util.Set instantiate ( DataObject template, DataFolder targetFolder ) throws IOException { showTargetChooser = false; return instantiateImpl (template, targetFolder); }