Comment #4 on issue 7202 by
[hidden email]: Nautilus icon mechanism
http://code.google.com/p/pharo/issues/detail?id=7202Any class can override #nautilusIcon (on class side) and make it returns
the icon you want Nautilus to display for this class.
You can also override nautilusIconClass to return the class which handle
your icons.
For methods, you can subclass AbstractMethodIconAction and implements the
following methods:
- actionOrder to set the priority among all the actions
- isActionHandled which returns true when the method provided to the
action satisfy this action
- privateActionIcon to return the icon to use for the methods
- (actionStateToCache to specify what to cache)
Feel free to ask for more explanation :)
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker