[kepler-users] attributeChanged method?

Derik Barseghian barseghian at nceas.ucsb.edu
Tue Jan 6 11:12:31 PST 2009


Hi Ufuk,

I believe that within attributeChanged you want to do something like:

if(attribute == someParam){
	String sParam = someParam.getToken().toString();
         sParam = url.replaceAll("\"","");

	if(!someParamDefault.equals(sParam)){
		//parameter fill
	}
}


Derik


On Jan 6, 2009, at 9:22 AM, turuncu at be.itu.edu.tr wrote:

> Hi,
>
> I try to fill few StringParameter fields using a method. So, I put  
> that
> method into particular location in the attributeChanged method as you
> expected. In fact that this method is also called when the model is
> loaded. So, how can i prevent the fill the parameter fields when the  
> model
> is loaded. I just want to call "parameter fill" method only when i  
> change
> the value of the specific parameter field.
>
> Any suggestion will be helpful.
> Thanks for your help,
>
> --ufuk
>
>
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>




More information about the Kepler-users mailing list