minor changes
This commit is contained in:
		@@ -182,6 +182,9 @@ func PostOneComputing(obj ComputingNEWModel) (ID string, err error) {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func (obj *ComputingObject) AddUserInput(inputs []xml.Attr){
 | 
					func (obj *ComputingObject) AddUserInput(inputs []xml.Attr){
 | 
				
			||||||
 | 
						
 | 
				
			||||||
 | 
						logs.Alert("AddUserInput() is going to throw some alerts while mxGraph GUI is not updated to adapt the inputs to the componant")
 | 
				
			||||||
 | 
						
 | 
				
			||||||
	// So far only a few input to handle so a switch with a case for each type of attribute
 | 
						// So far only a few input to handle so a switch with a case for each type of attribute
 | 
				
			||||||
	// is enough, to prevent too much complexity
 | 
						// is enough, to prevent too much complexity
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -4,7 +4,6 @@ import (
 | 
				
			|||||||
	"context"
 | 
						"context"
 | 
				
			||||||
	"encoding/xml"
 | 
						"encoding/xml"
 | 
				
			||||||
	"errors"
 | 
						"errors"
 | 
				
			||||||
	"fmt"
 | 
					 | 
				
			||||||
	"net/url"
 | 
						"net/url"
 | 
				
			||||||
	"os"
 | 
						"os"
 | 
				
			||||||
	"sort"
 | 
						"sort"
 | 
				
			||||||
@@ -632,7 +631,6 @@ func (ws Workspace) ConsumeMxGraphModel(xmlmodel MxGraphModel) (returned_wf *Wor
 | 
				
			|||||||
			returned_wf.UpdateObj(comp_obj,object.ID)
 | 
								returned_wf.UpdateObj(comp_obj,object.ID)
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		// if(resObj.getRtype() == rtype.DATA){
 | 
							// if(resObj.getRtype() == rtype.DATA){
 | 
				
			||||||
		fmt.Printf("Test")
 | 
					 | 
				
			||||||
		// }
 | 
							// }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user