naterich2 / surfaceplotter

Automatically exported from code.google.com/p/surfaceplotter
0 stars 0 forks source link

Control over VerticalConfigurationPanel #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would be useful to have the possibility to remove elements from the 
VerticalConfigurationPanel in the JSurfacePanel class.

Or alternatively to automatically remove the ButtonGroup with the curves 
selection (first, second, both) when there is only one curve in the plot and 
the second is null.

Original issue reported on code.google.com by Filippak...@gmail.com on 27 Mar 2012 at 11:35

GoogleCodeExporter commented 9 years ago
The Configuration panel is not intended for reuse (because I believe that GUI 
is cannot be reused).  But rather as a convenience for simple use cases. In 
that extend, I accept the second part of the request:
Auto Hide the curve selection panel when there is nothing to select.

Original comment by e...@ericaro.net on 3 Apr 2012 at 10:00

GoogleCodeExporter commented 9 years ago

Original comment by e...@ericaro.net on 3 Apr 2012 at 10:03

GoogleCodeExporter commented 9 years ago

Original comment by e...@ericaro.net on 3 Apr 2012 at 10:06

GoogleCodeExporter commented 9 years ago

Original comment by e...@ericaro.net on 3 Apr 2012 at 10:40

GoogleCodeExporter commented 9 years ago
What about allowing the user to replace the configuration panel?

Original comment by oyar...@gmail.com on 17 Aug 2012 at 5:24

Attachments:

GoogleCodeExporter commented 9 years ago
Well, the main piece of code here is the JSurface bean, it is designed for 
reuse. On the other hand, the JSrufacePanel is not. Its a simple assembly of a 
VerticalConfigurationPanel, and a JSurface.

My recommendation here, is to reuse only the JSurface, in your app. You can 
start "copying" the JSurfacePanel, and the "default" 
verticalCOnfigurationPanel, but then you will need to tweak it and make it your 
own.

Original comment by e...@ericaro.net on 21 Aug 2012 at 1:56