saveSplitterRatio();
settings.put( "orientation", orientation.ordinal() ); //$NON-NLS-1$
}
private void addPartListener() {
final String ID = getViewSite().getId();
partListener= new IPartListener2() {
public void partActivated(IWorkbenchPartReference partRef) { }
public void partBroughtToTop(IWorkbenchPartReference partRef) { }
public void partClosed(IWorkbenchPartReference partRef) {
if (ID.equals(partRef.getId()))
saveViewSettings();