Examples of ToggleOrientationAction


Examples of org.springframework.ide.eclipse.metadata.actions.ToggleOrientationAction

    if (orientation != SWT.VERTICAL) {
      orientation = SWT.HORIZONTAL;
    }
    splitter.setOrientation(orientation);
    for (int i = 0; i < orientationActions.length; i++) {
      ToggleOrientationAction action = orientationActions[i];
      action.setChecked(orientation == action.getOrientation());
    }
    prefStore.setValue(PREF_ORIENTATION, orientation);
  }
View Full Code Here

Examples of org.springframework.ide.eclipse.metadata.actions.ToggleOrientationAction

    mainViewer.addSelectionChangedListener(javaEditorAction);
    breakpointAction = new ToggleBreakPointAction(this);
    mainViewer.addSelectionChangedListener(breakpointAction);
    linkingAction = new ToggleLinkingAction(this);
    orientationActions = new ToggleOrientationAction[] {
        new ToggleOrientationAction(this, SWT.HORIZONTAL),
        new ToggleOrientationAction(this, SWT.VERTICAL) };
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.