Thanks for your reply. You have a good point. My team wants to bale able
to add more functionality in the future and this maximize is viewed as a
stepping stone!
I found out where the expand/collapse figure logic lives:
org.eclipse.gmf.runtime.draw2d.ui.internal.figures
AnimatableScrollPane.getPreferredSize(int wHint, int hHint)