[kepler-dev] Configure Actor -> parameters (tabs)

Michal Owsiak michalo at man.poznan.pl
Tue Mar 27 09:46:59 PDT 2012


Thanks for the lead.

I will take a look there.

Cheers

Michal

> Hi Michal,
> That is an interesting idea.
>
> In Ptolemy II, we did some work involving layout of custom panels but
> stopped work on that facility.
> I just updated $PTII/ptolemy/actor/gui/run/package.html to say
>
>> <p>This package is a draft of a facility that allows the user to edit the
>> run window. Work on this facility was not completed because Eclipse RCP
>> was seen as a package that was being regularly updated.</p>
>> <p>To use this facility, start up vergil, open a model and select
>> View -> Interface Window. In the resulting Window, use the
>> Customize menu
>> to change the layout.</p>
>
> The Interface Window facility does not seem to have tabs, but I have not
> looked very hard.
>
> In Ptolemy II, the ptolemy.actor.gui.EditParametersDialog class uses
> various styles in ptolemy/actor/gui/styles. These styles use
> ptolemy.actor.gui.PtolemyQuery, which extends ptolemy.gui.Query.
>
> To add tabs, you would probably need to start with EditParmetersDialog
> and maybe add a style.
>
> _Christopher
>
>
> On 3/27/12 5:18 AM, Michal Owsiak wrote:
>> Hello Kepler development team,
>>
>> I have question related to Configuration of parameters for the actor.
>>
>> At the moment, all the parameters are listed in a single view that is
>> embedded into scroll pane.
>>
>> Question is. Is it possible to extend Kepler with ability to show
>> parameters within separate tabs? I'd like to have something like this.
>>
>> Instead of:
>>
>> Param1 [value1 ]
>> Param2 [value2 ]
>> Param3 [value3 ]
>> Param4 [value4 ]
>> Param5 [value5 ]
>> Param6 [value6 ]
>> Param7 [value7 ]
>> Param8 [value8 ]
>> Param9 [value9 ]
>> Parama [valuea ]
>> Paramb [valueb ]
>> Paramc [valuec ]
>>
>> I'd like to have parameters split across different tabs:
>>
>> tab1:
>> Param1 [value1 ]
>> Param2 [value2 ]
>> Param3 [value3 ]
>>
>> tab2:
>> Param4 [value4 ]
>> Param5 [value5 ]
>> Param6 [value6 ]
>>
>> tab3:
>> Param7 [value7 ]
>> Param8 [value8 ]
>> Param9 [value9 ]
>>
>> tab4:
>> Parama [valuea ]
>> Paramb [valueb ]
>> Paramc [valuec ]
>>
>> Is it possible to develop this kind of feature in the Kepler?
>>
>> Cheers
>>
>> Michal
>>
>


-- 
Michal Owsiak <michal.owsiak at man.poznan.pl>

Institute of Bioorganic Chemistry PAS
Poznan Supercomputing and Networking Center
Noskowskiego 12/14, 61-704 Poznan, POLAND

http://www.man.poznan.pl


More information about the Kepler-dev mailing list