|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ltk.ui.refactoring.history.RefactoringHistoryControlConfiguration
Configuration object for a refactoring history control.
Note: this class is intended to be subclassed by clients wishing to control the configuration behavior of their refactoring history control.
RefactoringUI.createRefactoringHistoryControl(org.eclipse.swt.widgets.Composite,
RefactoringHistoryControlConfiguration)
,
IRefactoringHistoryControl
,
RefactoringHistoryLabelProvider
,
RefactoringHistoryContentProvider
Field Summary | |
---|---|
protected boolean |
fCheckable
Should the refactorings be checkable? |
protected IProject |
fProject
The project, or null for the workspace |
protected boolean |
fTime
Should time information be displayed? |
Constructor Summary | |
---|---|
RefactoringHistoryControlConfiguration(IProject project,
boolean time,
boolean checkable)
Creates a new refactoring history control configuration. |
Method Summary | |
---|---|
String |
getCollectionLabel()
Returns the label of a collection of refactorings. |
String |
getCommentCaption()
Returns the text of the comment field below the refactoring history tree, if the currently selected refactoring descriptor provides no comment. |
RefactoringHistoryContentProvider |
getContentProvider()
Returns the content provider to use. |
String |
getDayPattern()
Returns the message format pattern to use for days. |
RefactoringHistoryLabelProvider |
getLabelProvider()
Returns the label provider to use. |
String |
getLastMonthPattern()
Returns the message format pattern to use for last month. |
String |
getLastWeekPattern()
Returns the message format pattern to use for last week. |
String |
getMonthPattern()
Returns the message format pattern to use for months. |
IProject |
getProject()
Returns the project of the refactoring history being displayed. |
String |
getProjectPattern()
Returns the message format pattern to use if refactorings of exactly one project are displayed. |
String |
getRefactoringPattern()
Returns the message format pattern to use for refactorings. |
String |
getThisMonthPattern()
Returns the message format pattern to use for this month. |
String |
getThisWeekPattern()
Returns the message format pattern to use for this week. |
String |
getTodayPattern()
Returns the message format pattern to use for today. |
String |
getWeekPattern()
Returns the message format pattern to use for weeks. |
String |
getWorkspaceCaption()
Returns the caption of the refactoring history tree if refactorings of more than one project are displayed. |
String |
getYearPattern()
Returns the message format pattern to use for years. |
String |
getYesterdayPattern()
Returns the message format pattern to use for yesterday. |
boolean |
isCheckableViewer()
Returns whether the control should make the refactorings checkable. |
boolean |
isTimeDisplayed()
Returns whether the control should display time information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final boolean fCheckable
protected final IProject fProject
null
for the workspace
protected final boolean fTime
Constructor Detail |
public RefactoringHistoryControlConfiguration(IProject project, boolean time, boolean checkable)
project
- the project, or null
for the workspacetime
- true
to display time information,
false
otherwisecheckable
- true
if the refactorings should be checkable,
false
otherwiseMethod Detail |
public String getCollectionLabel()
public String getCommentCaption()
public RefactoringHistoryContentProvider getContentProvider()
public String getDayPattern()
Arguments:
public RefactoringHistoryLabelProvider getLabelProvider()
public String getLastMonthPattern()
Arguments:
public String getLastWeekPattern()
Arguments:
public String getMonthPattern()
Arguments:
public final IProject getProject()
null
for the workspacepublic String getProjectPattern()
Arguments:
public String getRefactoringPattern()
Arguments:
public String getThisMonthPattern()
Arguments:
public String getThisWeekPattern()
Arguments:
public String getTodayPattern()
Arguments:
public String getWeekPattern()
Arguments:
public String getWorkspaceCaption()
public String getYearPattern()
Arguments:
public String getYesterdayPattern()
Arguments:
public final boolean isCheckableViewer()
true
if the control should make refactorings
checkable, false
otherwisepublic final boolean isTimeDisplayed()
true
to display time information,
false
otherwise
|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.