Package org.eclipse.team.ui
Class TeamUI
java.lang.Object
org.eclipse.team.ui.TeamUI
TeamUI contains public API for generic UI-based Team functionality.
This class is not intended to be subclassed or instantiated by clients
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Register for changes made to Team properties.static IHistoryView
Shows the history view and returns a handle to it.static IScmUrlImportWizardPage[]
Return a set of wizard pages for the given importer ID.static ISynchronizeManager
Return the synchronize manager.static ITeamContentProviderManager
Return the team content provider manager which gives access to the team content providers registered with theorg.eclipse.team.ui.teamContentProviders
extension point.static void
Remove the listener from Team property change listener list.static IHistoryView
showHistoryFor
(IWorkbenchPage page, Object input, IHistoryPageSource pageSource) Shows a history view containing the given input and returns a handle to the view ornull
if no history was available for the given input.
-
Field Details
-
GLOBAL_IGNORES_CHANGED
Property constant indicating the global ignores list has changed.- See Also:
-
GLOBAL_FILE_TYPES_CHANGED
Property constant indicating the global file types list has changed.- Since:
- 3.1
- See Also:
-
-
Constructor Details
-
TeamUI
public TeamUI()
-
-
Method Details
-
getSynchronizeManager
Return the synchronize manager.- Returns:
- the synchronize manager
- Since:
- 3.0
-
addPropertyChangeListener
Register for changes made to Team properties.- Parameters:
listener
- the listener to add
-
removePropertyChangeListener
Remove the listener from Team property change listener list.- Parameters:
listener
- the listener to remove
-
getHistoryView
Shows the history view and returns a handle to it. Note that in the case of many history views, the main history view is the one returned here.- Returns:
- an IHistoryView which is the main history view if it is found or null if it can't be found
- Since:
- 3.2
-
showHistoryFor
public static IHistoryView showHistoryFor(IWorkbenchPage page, Object input, IHistoryPageSource pageSource) Shows a history view containing the given input and returns a handle to the view ornull
if no history was available for the given input. If an appropriate instance of a history view is already opened, its input will be changed and the view will be activated. Otherwise a new view will be opened.- Parameters:
page
- the workbench page containing the history viewinput
- the input whose history is to be displayedpageSource
- the history page source from which to obtain the page ornull
if the page source should be determined using the Adapter manager.- Returns:
- an IHistoryView which is the main history view if it is found or null if it can't be found
- Since:
- 3.3
-
getTeamContentProviderManager
Return the team content provider manager which gives access to the team content providers registered with theorg.eclipse.team.ui.teamContentProviders
extension point.- Returns:
- the team content provider manager
- Since:
- 3.2
-
getPages
Return a set of wizard pages for the given importer ID. If no wizard page is registered for the importer then a page will not be created. If an extension exits, a page will be created, but it's up to the caller to initialize the page with a set of corresponding descriptions. EXPERIMENTAL. This class has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the Team team.- Parameters:
importerId
- the importer ID- Returns:
- wizard pages
- Throws:
CoreException
- if an error occurs while trying to create a page extension- Since:
- 3.6
- Restriction:
- This method is not intended to be referenced by clients.
-