Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Team FAQ"

Line 12: Line 12:
 
You have a number of options here:
 
You have a number of options here:
  
* Provide your own action that will show your object in the History View. You can get a handle to
+
* Provide your own action that will show your object in the History View. You can get a handle to the History View by calling TeamUI.getHistoryView(). You then call showHistoryFor on IHistoryView and pass the object that your action is triggered from.  
the History View by calling TeamUI.getHistoryView(). You then call showHistoryFor on IHistoryView and
+
pass the object that your action is triggered from.  
+
  
 
* Supply your own drag and drop adapter (see [[#How do I add drag-and-drop for my IHistoryPage? | below]])
 
* Supply your own drag and drop adapter (see [[#How do I add drag-and-drop for my IHistoryPage? | below]])

Revision as of 14:29, 19 June 2006


Team API Questions

History API

I have an IHistoryPage implementation. How do I hook it up into the History View?

You have a number of options here:

  • Provide your own action that will show your object in the History View. You can get a handle to the History View by calling TeamUI.getHistoryView(). You then call showHistoryFor on IHistoryView and pass the object that your action is triggered from.
  • Supply your own drag and drop adapter (see below)

What is the lifecyle of an IHistoryPage?

How do I add drag-and-drop for my IHistoryPage?

Copyright © Eclipse Foundation, Inc. All Rights Reserved.