开发者

Implement custom library browser / type hierarchy in an Eclipse plugin

开发者 https://www.devze.com 2023-04-11 17:51 出处:网络
I\'m creating an Eclipse Plugin for development using the Grammatical Framework (GF), and once of the major features I want to implement a custom \"library browser\" for searching the GF Resource Gram

I'm creating an Eclipse Plugin for development using the Grammatical Framework (GF), and once of the major features I want to implement a custom "library browser" for searching the GF Resource Grammar Library (which will internally involve parsing a lot of header files manually). It would basically behave a lot like Eclipse's Java Type Hierarchy view, with my own implementation behind the scenes.

My question is, do you think the Common Navigator Framework (CNF) what I should be looking at? It seems suitable for my UI needs, but I thought I might ask just in c开发者_Python百科ase there's some other option I've overlooked.


Basically, the point of CNF is to make your tree-like view extensible: to allow several different bundles to provide items in the tree, actions on them, etc.

If the usual TreeViewer with a content and label provider is enough, there is no reason to go for CNF; if it isn't, do use CNF.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号