Interface ISortableRefactoringHistoryControl
-
- All Superinterfaces:
IRefactoringHistoryControl
public interface ISortableRefactoringHistoryControl extends IRefactoringHistoryControl
Extension interface toIRefactoringHistoryControlwhich provides facilities to set the sort mode of a refactoring history control.Clients of this interface should call
createControlbefore callingsetInput.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.
- Since:
- 3.3
- See Also:
RefactoringHistoryControlConfiguration,RefactoringHistoryContentProvider,RefactoringHistoryLabelProvider- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisSortByDate()Is sorting by date enabled?booleanisSortByProjects()Is sorting by projects enabled?voidsortByDate()Sorts the refactorings by date.voidsortByProjects()Sorts the refactorings by projects.-
Methods inherited from interface org.eclipse.ltk.ui.refactoring.history.IRefactoringHistoryControl
addCheckStateListener, addSelectionChangedListener, createControl, getCheckedDescriptors, getControl, getSelectedDescriptors, removeCheckStateListener, removeSelectionChangedListener, setCheckedDescriptors, setInput, setSelectedDescriptors
-
-
-
-
Method Detail
-
isSortByDate
boolean isSortByDate()
Is sorting by date enabled?- Returns:
trueif it is enabled,falseotherwise
-
isSortByProjects
boolean isSortByProjects()
Is sorting by projects enabled?- Returns:
trueif it is enabled,falseotherwise
-
sortByDate
void sortByDate()
Sorts the refactorings by date.
-
sortByProjects
void sortByProjects()
Sorts the refactorings by projects.
-
-