From: Berndl, Klaus <klaus.berndl@sd...> - 2004-03-19 06:48:15
first of all - i followed your posting to the cedet-list (semantic et. al.)...
Markus Gritsch wrote:
> I just subscribed to this list but found exactly the topic I wanted to
> talk about in a few previous postings :D
> > I have already asked Eric for some "nicer" images but his answer
> > was "Feel free to provide some" :-) IMHO this answer is ok, because
> > IMHO drawing such images is a pain and makes no fun.
> Well, this depends on your habits and if you are comfortable with
> GIMP, drawing nice icons can be a big pleasure :)) Actually I already
> did it (ok the icons were initially borrowed from NetBeans, but I
> think this is all right, because NetBeans is free and I applied some
> changes). You can find an example screenshot here:
> Why I am writing to the list is because I have some suggestions:
> ECB (or semantic, I don't know which one because I know nothing about
> the guts of both of them and want it to stay this way ;) already knows
> what kind of thing the members are, so different things should use a
> different image. I can easily provide different images for
> - the variables node
> - non-static public variables
> - non-static protected variables
> - non-static private variables
> - static public variables
> - static protected variables
> - static private variables
> - the methods node
> - non-static public methods
> - non-static protected methods
> - non-static private methods
> - static public methods
> - static protected methods
> - static private methods
> - the constructor node
> - public constructors
> - protected constructors
> - private constructors
> - the class node
If you would provide different images for this (maybe even in different sizes,
so for different font-sizes we would have fitting images) - this would be really
> Currently there are several Problems:
> *) The 'Variables' node does not have it's own icon. Instead the
> icon before the text 'Variables' is used to expand/collapse the tree.
> In the Speedbar this is ok, but in the methods browser it should be
> more like Windows-Explorer, where each Node has a + or - icon (which
> are used to expand/collapse the tree) befor the actual image. I
> wonder if this would be possible.
Currently not, but it is a good suggestion - could you provide a nice
looking +- and -image-icon for this - then i would enable ECB (in one
of the next versions, can not promise that in the next version) to
display such a samll +- or -icon infront of these nodes.
> *) The same is true for the class node.
> *) Methods even don't have it's own node. IMHO this is somehow
Methods can have its own node - see the option `ecb-show-tags'. In this
option the nodes of tag-class 'function (these are the methods) are defined
to be displayed flattened by default - IMHO sensefull because the methods are so
often needed to click onto it, why hide them behind a parent-node. But you
can easily customize ecb-show-tags and set 'function to 'expanded for example.
Just call M-x customize-option RET ecb-show-tags RET and then set for the entry
'function 'extended - voila, you will have a methods-node next time, per default
expanded - if you want per default collapsed, then set to 'collapsed - easy,
isn't it? Take a loot into the info-manual for the "most important options"
or display them via the ECB-menu....
> *) The same is true for constructors.
> Looking-forward-to-the-response-ly y'rs
Here it is ;-)
Markus, thanks again for your great offer providing images - This would really
help ECB getting much more nicer!