public void addFileVar() { XParamListParam param = new XParamListParam(); param.setName("New parameter"); param.setContent(0.0); m_history.record("addFileVar"); m_glyph.getHead().getHeadGlobal().addParamListParam(param); }
private void loadVar() { XParamListParam[] params = m_glyph.getHead().getHeadGlobal().getParamListParam(); int i; for (i = 0; i < params.length; i++) { XParamListParam param = params[i]; addVar(param.getName(), param.getContent()); } // for i }