It is currently not possible to access view-specific functionality, e.g.
running layouts on graphs, automatically. The goal of this task is to add the
adaptable pattern to views and view content displays to allow call like this
(example would work on Graph view content display):
GraphLayoutSupport layoutSupport = view.getAdapter(GraphLayoutSupport.class)
// run custom functionality on layoutSupport
The Adaptable interface should contain two methods:
<T> T getAdapter(Class<T> clazz)
boolean isAdaptableTo(Class<?> clazz)
Original issue reported on code.google.com by Lars.Grammel on 19 Jun 2011 at 2:58
Original issue reported on code.google.com by
Lars.Grammel
on 19 Jun 2011 at 2:58