public class WorkspaceImpl extends AbstractModelItem implements Workspace
Modifier and Type | Field and Description |
---|---|
static MessageSupport |
messages |
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
Constructor and Description |
---|
WorkspaceImpl(String path,
StringToStringMap projectOptions) |
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getProject, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProject
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
public static final MessageSupport messages
public WorkspaceImpl(String path, StringToStringMap projectOptions) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlException
IOException
public void switchWorkspace(File file) throws SoapUIException
switchWorkspace
in interface Workspace
SoapUIException
public void loadWorkspace(File file) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlException
IOException
public void setPath(String path)
public void setName(String name)
public void setDescription(String description)
public Project getProjectAt(int index)
getProjectAt
in interface Workspace
public Project getProjectByName(String projectName)
getProjectByName
in interface Workspace
public int getProjectCount()
getProjectCount
in interface Workspace
public SaveStatus onClose()
public SaveStatus save(boolean workspaceOnly)
public SaveStatus save(boolean saveWorkspaceOnly, boolean skipProjectsWithRunningTests)
public void addWorkspaceListener(WorkspaceListener listener)
addWorkspaceListener
in interface Workspace
public void removeWorkspaceListener(WorkspaceListener listener)
removeWorkspaceListener
in interface Workspace
public Project importProject(String fileName) throws SoapUIException
importProject
in interface Workspace
SoapUIException
public Project importProject(InputStream inputStream)
importProject
in interface Workspace
public void resolveProject(WsdlProject project)
public WsdlProject createProject(String name) throws SoapUIException
SoapUIException
public WsdlProject createProject(String name, File file) throws SoapUIException
createProject
in interface Workspace
SoapUIException
public void removeProject(Project project)
removeProject
in interface Workspace
public Project reloadProject(Project project) throws SoapUIException
SoapUIException
public Settings getSettings()
getSettings
in interface ModelItem
public int getIndexOfProject(Project project)
getIndexOfProject
in interface Workspace
public String getProjectRoot()
public void setProjectRoot(String workspaceRoot)
public void release()
public List<? extends Project> getProjectList()
getProjectList
in interface Workspace
public String getDescription()
getDescription
in interface ModelItem
public WsdlProject importRemoteProject(String url) throws SoapUIException
SoapUIException
public void closeProject(Project project)
public Project openProject(Project project) throws SoapUIException
openProject
in interface Workspace
SoapUIException
public List<? extends ModelItem> getChildren()
getChildren
in interface ModelItem
getChildren
in class AbstractModelItem
public void inspectProjects()
inspectProjects
in interface Workspace
public void clearProjectPassword(String name)
public boolean isSupportInformationDialog()
isSupportInformationDialog
in interface Workspace
public void setSupportInformationDialog(boolean value)
setSupportInformationDialog
in interface Workspace
Copyright © 2019. All Rights Reserved.