Print

Print


You have to let MASON know that you want your model to have its global parameters visible (this step is for speed reasons).  In your GUIState, you'll need to add

	public Object getSimulationInspectedObject() { return state; } // non-volatile

Sean

On Nov 24, 2013, at 8:23 AM, Simone Gabbriellini wrote:

> Dear List,
> 
> I have added this lines:
> 
> public class Foo extends SimState {
>   // lines added
>    private boolean onlyVideo = true;
>    /**
>     * @return the onlyVideo
>     */
>    public boolean isOnlyVideo() {
>        return onlyVideo;
>    }
> public void setOnlyVideo(boolean onlyVideo) {
>        this.onlyVideo = onlyVideo;
>    }
>    // end lines added
>    // other stuff...
> }
> 
> I thought that it would be sufficient to see the "onlyVideo" parameter
> in the GUI, but when I run my FooWIthUI class I cannot see the
> parameter in the GUI...
> Is there something I am missing?
> 
> all the best,
> Simone
> -- 
> -----------------------------------------------------------------
> 
> Simone Gabbriellini, PhD
> 
> Post-doctoral Researcher
> ANR founded research project "DIFFCERAM"
> GEMASS, CNRS & Paris-Sorbonne.
> 
> mobile: +39 340 39 75 626
> email: [log in to unmask]