Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2826,26 +2826,21 @@ public boolean getPerspectiveBarVisible() {
}

/**
* @param visible whether the perspective bar should be shown. This is only
* applicable if the window configurer also wishes either the
* perspective bar to be visible.
* @param visible whether the status line should be shown
* @since 3.0
*/
public void setStatusLineVisible(boolean visible) {
boolean oldValue = statusLineVisible;
statusLineVisible = visible;
if (oldValue != statusLineVisible) {
getModel().getPersistedState().put(IPreferenceConstants.PERSPECTIVEBAR_VISIBLE, Boolean.toString(visible));
updateLayoutDataForContents();
firePropertyChanged(PROP_STATUS_LINE_VISIBLE, oldValue ? Boolean.TRUE : Boolean.FALSE,
statusLineVisible ? Boolean.TRUE : Boolean.FALSE);
}
}

/**
* @return whether the perspective bar should be shown. This is only applicable
* if the window configurer also wishes either the perspective bar to be
* visible.
* @return whether the status line should be shown
* @since 3.0
*/
public boolean getStatusLineVisible() {
Expand Down
Loading