com.eviware.soapui.impl
Class WorkspaceImpl
java.lang.Object
com.eviware.soapui.model.support.AbstractModelItem
com.eviware.soapui.impl.WorkspaceImpl
- All Implemented Interfaces:
- ModelItem, Workspace, PropertyChangeNotifier
public class WorkspaceImpl
- extends AbstractModelItem
- implements Workspace
Default Workspace implementation
- Author:
- Ole.Matzura
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkspaceImpl
public WorkspaceImpl(java.lang.String path)
throws org.apache.xmlbeans.XmlException,
java.io.IOException
- Throws:
org.apache.xmlbeans.XmlException
java.io.IOException
switchWorkspace
public void switchWorkspace(java.io.File file)
throws SoapUIException
- Specified by:
switchWorkspace
in interface Workspace
- Throws:
SoapUIException
setPath
public void setPath(java.lang.String path)
getProjects
public Project[] getProjects()
setName
public void setName(java.lang.String name)
setDescription
public void setDescription(java.lang.String description)
getName
public java.lang.String getName()
- Specified by:
getName
in interface ModelItem
getProjectAt
public Project getProjectAt(int index)
- Specified by:
getProjectAt
in interface Workspace
getProjectByName
public Project getProjectByName(java.lang.String projectName)
- Specified by:
getProjectByName
in interface Workspace
getProjectCount
public int getProjectCount()
- Specified by:
getProjectCount
in interface Workspace
onClose
public void onClose()
- Specified by:
onClose
in interface Workspace
save
public void save(boolean workspaceOnly)
- Specified by:
save
in interface Workspace
save
public void save(boolean workspaceOnly,
boolean skipProjectsWithRunningTests)
addWorkspaceListener
public void addWorkspaceListener(WorkspaceListener listener)
- Specified by:
addWorkspaceListener
in interface Workspace
removeWorkspaceListener
public void removeWorkspaceListener(WorkspaceListener listener)
- Specified by:
removeWorkspaceListener
in interface Workspace
importProject
public Project importProject(java.lang.String fileName)
throws SoapUIException
- Specified by:
importProject
in interface Workspace
- Throws:
SoapUIException
createProject
public WsdlProject createProject(java.lang.String name)
throws SoapUIException
- Throws:
SoapUIException
createProject
public WsdlProject createProject(java.lang.String name,
java.io.File file)
throws SoapUIException
- Specified by:
createProject
in interface Workspace
- Throws:
SoapUIException
removeProject
public void removeProject(Project project)
- Specified by:
removeProject
in interface Workspace
reloadProject
public Project reloadProject(Project project)
throws SoapUIException
- Throws:
SoapUIException
getIcon
public javax.swing.ImageIcon getIcon()
- Specified by:
getIcon
in interface ModelItem
getSettings
public Settings getSettings()
- Specified by:
getSettings
in interface ModelItem
getIndexOfProject
public int getIndexOfProject(Project project)
- Specified by:
getIndexOfProject
in interface Workspace
getPath
public java.lang.String getPath()
- Specified by:
getPath
in interface Workspace
release
public void release()
getProjectList
public java.util.List<? extends Project> getProjectList()
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface ModelItem
importRemoteProject
public WsdlProject importRemoteProject(java.lang.String url)
throws SoapUIException
- Throws:
SoapUIException
closeProject
public void closeProject(Project project)
getOpenProjectList
public java.util.List<Project> getOpenProjectList()
openProject
public Project openProject(Project project)
throws SoapUIException
- Specified by:
openProject
in interface Workspace
- Throws:
SoapUIException
getId
public java.lang.String getId()
- Specified by:
getId
in interface ModelItem
getChildren
public java.util.List<? extends ModelItem> getChildren()
- Specified by:
getChildren
in interface ModelItem
getParent
public ModelItem getParent()
- Specified by:
getParent
in interface ModelItem
Copyright © 2005-2007 eviware.com. All Rights Reserved.