* @param projectLocation
*/
public void saveRemoteProject(ProjectLocation projectLocation) {
if (projectLocation == ProjectLocation.SSH) {
// RemoteProject remoteProject = (RemoteProject) project;
IXMLWriter rProjectWriter = new RProjectSAXWriter(remoteProjects);
try {
rProjectWriter.writeXML(JSimConstants.REMOTEPROJECTFILE);
} catch (Exception e) {
JOptionPane.showMessageDialog(frame, e.getMessage(),
"Remote error", JOptionPane.ERROR_MESSAGE);
e.printStackTrace();
}