Package com.altova.automation.XMLSpy
Class SpyProject
java.lang.Object
com.altova.automation.libs.COMIUnknownObject
com.altova.automation.libs.COMIDispatchObject
com.altova.automation.XMLSpy.SpyProject
public class SpyProject extends COMIDispatchObject
-
Field Summary
Fields inherited from class com.altova.automation.libs.COMIDispatchObject
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF -
Method Summary
Modifier and Type Method Description voidclearSelection()Clears the selection in the Project tree.voidcloseProject(boolean bDiscardChanges, boolean bCloseFiles, boolean bDialog)CloseProject closes the current project.GUIDgetInterfaceIID()java.lang.StringgetProjectFile()property ProjectFileSpyProjectItemsgetRootItems()Root level of collection of project items.SpyProjectItemsgetSelectedItems()Collection of currently selected project items.voidsaveProject()SaveProject saves the current projectvoidsaveProjectAs(java.lang.String strPath, boolean bDialog)SaveProjectAs stores the project data into the file strPath.voidsetProjectFile(java.lang.String newValue)property ProjectFileMethods inherited from class com.altova.automation.libs.COMIDispatchObject
addListener, getProperty, getProperty, invoke, removeListener, setProperty, setPropertyMethods inherited from class com.altova.automation.libs.COMIUnknownObject
dispose, equals, getCOMInterfacePointer, isNull
-
Method Details
-
getInterfaceIID
-
closeProject
public void closeProject(boolean bDiscardChanges, boolean bCloseFiles, boolean bDialog) throws AutomationExceptionCloseProject closes the current project. If bCloseFiles is TRUE, all open files from the project will be closed too.- Throws:
AutomationException
-
saveProject
SaveProject saves the current project- Throws:
AutomationException
-
getRootItems
Root level of collection of project items.- Throws:
AutomationException
-
saveProjectAs
SaveProjectAs stores the project data into the file strPath. If bDialog is TRUE, a file-dialog will be displayed.- Throws:
AutomationException
-
getProjectFile
property ProjectFile- Throws:
AutomationException
-
setProjectFile
property ProjectFile- Throws:
AutomationException
-
getSelectedItems
Collection of currently selected project items.- Throws:
AutomationException
-
clearSelection
Clears the selection in the Project tree. No items are removed.- Throws:
AutomationException
-