Re: [JPP-Devel] Tooltip display

2008-11-01 Thread Michael Michaud
Hi, Here after is the change I have committed today : the tooltip is now supposed to display "Feature count = #" ( as you suggested) when the layer has no description or an empty description or a description equals to the name otherwise, the tool tip displays "name: description" as before Let m

Re: [JPP-Devel] Tooltip display

2008-10-31 Thread Kevin Neufeld
Hi Michaƫl, Having a feature count readily available is a nice addition for a quick overview in the Jump environment, either as a tooltip or displayed in the status bar. If you prefer it as a layer tooltip, may I suggest you drop the layer name (since that's redundant information) and prefix

Re: [JPP-Devel] Tooltip display

2008-10-31 Thread Michael Michaud
Hi Kevin (and others for advice) Sorry for the annoyance, I realize that the ToolTipText content is defined in the LayerNameRenderer class, and that I overrode the previous behaviour, adding a method directly in the TreeLayerNamePanel. I added the number of objects in the tooltip because I found

[JPP-Devel] Tooltip display

2008-10-31 Thread Kevin Neufeld
On Aug10, michaudm committed a tooltip addition to the com\vividsolutions\jump\workbench\ui\TreeLayerNamePanel.java file (revision 1531 "Display the number of features after the layer name in the layer name tooltip"). It used to be that the Tooltip for a layer was derived by overriding com.vivi