blob: 46f82c4581bd145084b830e1fd50c8b659489817 [file] [log] [blame]
/*******************************************************************************
* Copyright (C) 2007 The University of Manchester
*
* Modifications to the initial code base are copyright of their
* respective authors, or their employers as appropriate.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
******************************************************************************/
package net.sf.taverna.t2.workbench.ui.activitypalette;
import java.util.HashMap;
import java.util.Map;
import uk.org.taverna.configuration.AbstractConfigurable;
import uk.org.taverna.configuration.ConfigurationManager;
public class ActivityPaletteConfiguration extends AbstractConfigurable {
private Map<String,String> defaultPropertyMap;
public ActivityPaletteConfiguration(ConfigurationManager configurationManager) {
super(configurationManager);
}
@Override
public String getCategory() {
return "Services";
}
@Override
public Map<String, String> getDefaultPropertyMap() {
if (defaultPropertyMap == null) {
defaultPropertyMap = new HashMap<>();
// //wsdl
//defaultPropertyMap.put("taverna.defaultwsdl", "http://www.ebi.ac.uk/xembl/XEMBL.wsdl,"+
// "http://soap.genome.jp/KEGG.wsdl,"+
// "http://eutils.ncbi.nlm.nih.gov/entrez/eutils/soap/eutils.wsdl,"+
// "http://soap.bind.ca/wsdl/bind.wsdl,"+
// "http://www.ebi.ac.uk/ws/services/urn:Dbfetch?wsdl");
// //soaplab
//defaultPropertyMap.put("taverna.defaultsoaplab", "http://www.ebi.ac.uk/soaplab/services/");
// //biomart
//defaultPropertyMap.put("taverna.defaultmartregistry","http://www.biomart.org/biomart");
//add property names
//defaultPropertyMap.put("name.taverna.defaultwsdl", "WSDL");
//defaultPropertyMap.put("name.taverna.defaultsoaplab","Soaplab");
//defaultPropertyMap.put("name.taverna.defaultmartregistry", "Biomart");
}
return defaultPropertyMap;
}
@Override
public String getDisplayName() {
return "Activity Palette";
}
@Override
public String getFilePrefix() {
return "ActivityPalette";
}
@Override
public String getUUID() {
return "ad9f3a60-5967-11dd-ae16-0800200c9a66";
}
}