Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320646

Summary: Improve wizard appearance
Product: [Technology] Tigerstripe Reporter: Yuri Strot <yuri>
Component: UIAssignee: Valentin Yerastov <valentin>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: nmehrega, valentin
Version: unspecified   
Target Milestone: 0.5M0   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Yuri Strot CLA 2010-07-22 11:42:16 EDT
I've added few changes related to new project wizards. Now it always available when you right click on the Tigerstripe Explorer (even if there is empty selection) and from the File > New... main menu in the Tigerstripe perspective.

Also I'd like to mention few other problems which makes Tigerstripe wizards not so extensible as other CNF-based explorers:

1. Artifact wizards available only from the New context menu in the TS Explorer.

This problem occurred because there are no actually artifact wizards and corresponding actions constructed dynamically. So you can't create new Entity using New Project Wizard or from the File > New menu. I think the right solution will be to create real wizard for every element. If artifacts can be contibuted from another plugins these plugins should contribute new wizards as well.

2. Artifact wizards don't appear sometimes when it will be useful.

For example you can click to existing Entity but can't create new one. Comparing to Java you can click to Java class and create new one in the same package.

3. Other Tigerstripe wizards (class/instance diagram, facet) doesn't linked to Tigerstripe correctly.

For example you can see these wizards in the XMP Explorer which extends Tigerstripe. The problem is these wizards contibuted to New Wizard menu with the special tigerstripe extension point instead of using standard perspective extensions. Therefore these wizards can't be removed from XMP and don't available in the File > New main menu.

4. Workbench Profile wizard not available from the context menu.
Comment 1 Navid Mehregani CLA 2010-08-16 12:34:28 EDT
Right clicking on TS Explorer should always have the New action displayed as the first thing in the list and the items appearing under New should be populated based on the selected context in TS Explorer (e.g. nothing selected, src folder selected, package selected, artifact selected).

For example, if user right clicks on a Session Facade in TS Explorer, they should have the option of creating new methods.  Similarly, right clicking on an Entity should allow you to create new methods/attributes
Comment 2 Valentin Yerastov CLA 2010-09-27 04:36:37 EDT
Hi Navid,

We’ve done all items including Navid’s comment except first one (Artifact wizards available only from the New context menu in the TS Explorer). For this one we would like to get some feedback from you first.

The sub-menu for artifacts built using the mechanism of patterns (used IPattern which is created through the custom extension points), then to add items to the artifacts in the File / New dialog, we'll have to replace the mechanism of patterns on the standard eclipse wizard extension point. We are not completely sure that it will not cause problems for your customers because we do not know how many IPattern extensions you have on your side.

Also if you have other suggestions for the third item please provide it for us and we’ll implement it.
Comment 3 Navid Mehregani CLA 2010-09-27 09:52:10 EDT
Hi Valentin,

Thanks for looking into this.  The first item is not critical to us.  It's now safe to mark this defect as fixed.