Search code examples
eclipse-plugindraw2d

Custom Layout Manager in Draw2d


All,

Can we define a custom Layout Manager in draw2d ? If yes, can anyone please explain the steps for the same? I need to come up with a TableLayout where I can dynamically add rows and columns?


Solution

  • Not sure about how to do it with Draw2D itself but have a look at this snippet on how to do it with Zest (which is based on Draw2D). Also note there is a new version coming up with a refactored layout library.