isDesignTime() method?
I wonder if there is a method such as "isDesignTime()", who returns true if the code is accessed by the IDE when it instantiates objects to be used in the visual editor. I.E., if I define a Option list for a Drop Down:
public Option[] getCustomOptions(){
if (isDesignTime()){
/* ...generate some code and return sample data to not break
the look of the drop down in the IDE
while in design time. */
}
/*
....build and return actual data
*/
}
In my case I have several componens who are hidden by the IDE if I bind the "visible" property to a method (i.e. to check if there are elements in an array, and if not just not show the buttton or StaticText).
Thank you.
Best regards
Antonio.

