use of org.talend.designer.runtime.visualization.internal.actions.ToggleOrientationAction.Orientation in project tdi-studio-se by Talend.
the class AbstractSashForm method getOrientationActions.
/**
* Gets the orientation actions.
*
* @return The orientation actions
*/
public List<ToggleOrientationAction> getOrientationActions() {
if (orientationActions == null) {
orientationActions = new ArrayList<ToggleOrientationAction>();
for (Orientation orientation : Orientation.values()) {
ToggleOrientationAction action = new ToggleOrientationAction(this, orientation);
orientationActions.add(action);
if (action.isChecked()) {
updateOrientation(orientation);
currentOrientation = orientation;
}
}
}
return orientationActions;
}
Aggregations