Commit 99c66378 authored by Maxime Chazalviel's avatar Maxime Chazalviel

remove unused functions

parent 63e97333
......@@ -458,9 +458,6 @@ var metExploreD3 = {
// Metabolite
setMetabolitesSet : function(store){
Ext.getStore("S_Metabolite") = store;
},
getMetabolitesSet : function(){
return Ext.getStore("S_Metabolite");
},
......@@ -470,9 +467,6 @@ var metExploreD3 = {
// Reaction
setReactionsSet : function(store){
Ext.getStore("S_Reaction") = store;
},
getReactionsSet : function(){
return Ext.getStore("S_Reaction");
},
......@@ -519,66 +513,11 @@ var metExploreD3 = {
},
// Condition
setConditionsSet : function(store){
Ext.getStore("S_Condition") = store;
},
getConditionsSet : function(){
return Ext.getStore("S_Condition");
},
getConditionById : function(store, id){
return store.getById(id);
},
getConditionsSetLength : function(store){
return store.getCount();
},
getConditionsMapped : function(){
return Ext.getCmp('selectConditionForm').lookupReference('selectCondition').lastValue;
},
// MappingInfo
setMappingInfosSet : function(store){
Ext.getStore("S_MappingInfo") = store;
},
getMappingInfosSet : function(){
return Ext.getStore("S_MappingInfo");
},
getMappingInfoById : function(store, id){
return store.getById(id);
},
findMappingInfo : function(mappingInfoStore, id, idMapping){
return mappingInfoStore.findRecord(id, idMapping);
},
// ReactionMap
newReactionMapStore : function(store){
return Ext.create('Ext.data.Store',{
fields : ['id','ec','name','reversible']
});
},
addReactionMap : function(storeReactionMap, myid, myec, myname, myreversible){
storeReactionMap.add({
id: myid,
ec: myec,
name: myname,
reversible: myreversible
});
},
getReactionMapsSetLength : function(store){
return store.getCount();
},
// Mapping selectionned by user
getMappingSelection : function(){
var combBoxSelectMappingVisu = Ext.getCmp('selectMappingVisu');
return combBoxSelectMappingVisu.getValue();
},
// Other function
/******************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment