Le 04/10/2017 à 17:57, Lothar Haeger a écrit : > Emmanuel Lécharny wrote: > >> Not that complicated to implement, but it requires a bit of work. If >> someone wants to give it a try, we would be very please to add this code >> to the server ! > I'd be happy to give this a try, I even got Studio to compile on my Macbook > already. I'm a bit overwhelmed by the amount of code and could need a little > help getting orientated. Is there something like a "Getting Started" guide for > Studio development in particular, explaining the overall structure and > approach > etc a bit?
There is no 'getting started' guide, sadly :/ First of all, you need to grok a bit about Eclipse development, if you don't know a thing about it, then this is clearly the first step... That being said, the part that 'decorates' the entries in the tree is in the ldapbrowser.common plugin, more specifically in the getImageByObjectClass class (see the getImageByObjectClass method). This is where we select the image to expose accordingly to some hard coded settings (see BrowserCommonPreferencesInitializer, initializeDefaultPreferences() method). We should make those hard coded preferences part of the preferences, like the value editors, which are handled by the ValueEditorsPreferencePage class in the same plugin. So to speak, the only code base you need to understand (at least partially) is the ldapbrowser.common. We are still talking about around 23 000 SLOCS ;-) -- Emmanuel Lecharny Symas.com directory.apache.org
