Skip to content
Snippets Groups Projects
Commit c9e9b73d authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

hide model checking

parent bfe4ed98
No related branches found
No related tags found
No related merge requests found
...@@ -89,10 +89,12 @@ public class Parameter { ...@@ -89,10 +89,12 @@ public class Parameter {
pos++;// version pos++;// version
pos++;// type pos++;// type
setName(infos[pos++]);// name setName(infos[pos++]);// name
if(_name.equals("GetDP/}ModelCheck")) // don't show model checking
return -1;
setLabel(infos[pos++]);// label setLabel(infos[pos++]);// label
pos++;// help pos++;// help
pos++;// changedValue pos++;// changedValue
if(Integer.parseInt(infos[pos++]) != 1)return -1;// visible if(Integer.parseInt(infos[pos++]) != 1) return -1;// visible
this.setReadOnly((infos[pos++].equals("1")));// read only this.setReadOnly((infos[pos++].equals("1")));// read only
int nAttributes = Integer.parseInt(infos[pos++]);// number of attributes int nAttributes = Integer.parseInt(infos[pos++]);// number of attributes
pos+=(nAttributes*2);// key+value pos+=(nAttributes*2);// key+value
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment