private static void AddParameterToMacro(IObjectBuilder objectBuilder)
        {
            Parameter p = new Parameter();
            ParameterWindow paramWin = new ParameterWindow();
            paramWin.DataContext = p;
            bool? ret = paramWin.ShowDialog();
            if (ret.HasValue && ret.Value)
            {
                objectBuilder.AddParameter(p);

                // TODO
                // check all macrocalls and update parameters
            }
        }