public interface ISortableRefactoringHistoryControl extends IRefactoringHistoryControl
IRefactoringHistoryControl
which provides
facilities to set the sort mode of a refactoring history control.
Clients of this interface should call createControl
before
calling setInput
.
An instanceof of a sortable refactoring history control may be obtained by
calling
RefactoringUI.createSortableRefactoringHistoryControl(org.eclipse.swt.widgets.Composite, RefactoringHistoryControlConfiguration)
.
Note: this interface is not intended to be implemented by clients.
RefactoringHistoryControlConfiguration
,
RefactoringHistoryContentProvider
,
RefactoringHistoryLabelProvider
Modifier and Type | Method and Description |
---|---|
boolean |
isSortByDate()
Is sorting by date enabled?
|
boolean |
isSortByProjects()
Is sorting by projects enabled?
|
void |
sortByDate()
Sorts the refactorings by date.
|
void |
sortByProjects()
Sorts the refactorings by projects.
|
addCheckStateListener, addSelectionChangedListener, createControl, getCheckedDescriptors, getControl, getSelectedDescriptors, removeCheckStateListener, removeSelectionChangedListener, setCheckedDescriptors, setInput, setSelectedDescriptors
boolean isSortByDate()
true
if it is enabled, false
otherwiseboolean isSortByProjects()
true
if it is enabled, false
otherwisevoid sortByDate()
void sortByProjects()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.