Bug 75016 - Test Navigator improvements
Summary: Test Navigator improvements
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Hyades (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Dominique Guilbaud CLA
QA Contact:
URL:
Whiteboard: closed460
Keywords: PII
Depends on:
Blocks:
 
Reported: 2004-09-24 23:54 EDT by David Hodges CLA
Modified: 2012-02-15 13:48 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Hodges CLA 2004-09-24 23:54:42 EDT
Add features to Test Navigator that are present in similar Navigators
Filter support
Import/Export commands
Comment 1 Subramanian CLA 2004-10-11 07:44:24 EDT
Also make the Navigator context menu extensible. Provider an extension point to
add additional menu items.
Comment 2 David Hodges CLA 2004-10-11 08:06:23 EDT
The ability to add additional menu items should already be present in 3.0.1.  
I'll cc Jerome who can provide more details.
Comment 3 Jerome Gout CLA 2004-10-11 11:33:30 EDT
Actions can be simply added by using the eclipse following extension point:
org.eclipse.ui.viewActions

One can use the view contribution extension with the targetID attribute set to:
org.eclipse.hyades.test.ui.TestNavigator
Comment 4 Harm Sluiman CLA 2004-11-09 21:45:00 EST
Targeted to 4.0 by the requirements team.
Please create a description document in CVS.
Comment 5 Jerome Gout CLA 2004-12-01 10:48:06 EST
I did this task (add import/export actions in the context menu) for the CTA
which is build on top of hyades. Actually, this is an easy task to do.

 - <extension point="org.eclipse.ui.popupMenus">
      <viewerContribution
            targetID="org.eclipse.hyades.test.ui.TestNavigator">
         <action
               label="%IMPORT_ACTION_NAME"
               icon="icons/etool16/import_wiz.gif"
           class="some.package.location.in hyades.test.ui.ImportAction"
               menubarPath="group.import"
               id="ImportAction"/>
         <action
               label="%EXPORT_ACTION_NAME"
               icon="icons/etool16/export_wiz.gif"
           class="some.package.location.in hyades.test.ui.ExportAction"
               menubarPath="group.import"
               id="ExportAction"/>
      </viewerContribution>
  </extension>

   to declare both actions.

 - add both action classes (value of class attribute) like this:

public class ImportAction implements IViewActionDelegate {

	private ActionFactory.IWorkbenchAction importAction;
	
	public void init(IViewPart view) {
		importAction =
ActionFactory.IMPORT.create(view.getViewSite().getWorkbenchWindow()); 
	}

	public void run(IAction action) {
		importAction.run();
	}

	public void selectionChanged(IAction action, ISelection selection) {
	}
}

There is no API breaks and I think that it can be done before 4.0
Comment 6 Valentina Popescu CLA 2005-01-10 15:54:27 EST
Updating feature target and owner per 01/10 UI main committers meeting
Comment 7 Valentina Popescu CLA 2005-01-11 22:41:59 EST
update component so this feature will be picked up by queries on the Test 
components
Comment 8 Dominique Guilbaud CLA 2005-02-09 08:43:53 EST
New actions "Import..." and "Export..." have been added to the test navigator.
Comment 9 Paul Slauenwhite CLA 2009-06-30 13:07:31 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.