Bug 158223 - Diagrams: In Activity detail diagram number of tasks per role-tasks box should be configurable.
Summary: Diagrams: In Activity detail diagram number of tasks per role-tasks box shou...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EPF (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Shashidhar Kannoori CLA
QA Contact:
URL:
Whiteboard:
Keywords: core
Depends on:
Blocks:
 
Reported: 2006-09-21 18:11 EDT by Shashidhar Kannoori CLA
Modified: 2023-02-16 16:17 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shashidhar Kannoori CLA 2006-09-21 18:11:13 EDT
In Activity Detail Diagram: 
You can move the graphical box containing all the task but you cannot however re-size it (in the x-axis yes, in the y-axis no). This means that if there are many taks associated with one role within an activity, not all tasks are visible.

eg:  If a primary performer (role) performs 10 different tasks. 
In the diagram,  role-tasks box shows all the tasks in a single row, which expands horizontally and looks very wide. 


Expected behaviour:

1. Should allow the user to configure number of tasks per row (at library level)
2. If a primary performer performs N number of tasks. ADD layout mechanism based on number of tasks per row (default is 5, can be configurable) should layout N/5 Role-Tasks boxes with same primary performer instead of all N tasks in single row.
Comment 1 Shashidhar Kannoori CLA 2006-09-21 19:02:22 EDT
I have delivered the fix to RC2. 

1. Number of tasks per box can be configurable in  plugin_customization.ini for org.eclipse.epf.rcp plugin. property is :  org.eclipse.epf.library.edit/ACTIVITY_DETAIL_DIAGRAM_TA	SKS_PER_ROW=5

2. N/5 Role-Tasks boxes created if N tasks are performed by a primary performer.
   Modulus of N/5's tasks will go to last role-tasks box.


This fix should not disturb ADD maintain WBS order of tasks in role-tasks box. 
Please test again: https://bugs.eclipse.org/bugs/show_bug.cgi?id=152806

Test scenario:

0. Create basic necessary elements for common Activity detail diagram scenario.
1. Create a CP in  a plugin. 
2. DragNDrop tasks (more than 5) which  primarily performed by same role. 
3. Make sure those tasks have input and output workproducts.
4. Open ADD for created CP. 
5. Verify the ADD, should create N/5 rle-tasks for same primary performer.


Test scenario 2: 

1. Use M4 build or earlier builds.
2. Create a library or use existing library compatible with using epf build. 
3. Create a ADD for an Activity which have above 5 taskdescriptors primary performed by same roledescriptor.  
4. Save the library. Close it. 
5. Now use EPF RC1 build 
6. Open same library that used in step.2. 
7. open same ADD for an Activity that used in step.3.
8. Diagram should be opened as it from persistence.
9. In order to get to latest, delete diagram and re-open. 
Comment 2 Jiang Xuan CLA 2006-09-25 02:05:34 EDT
Fix is verified on build RC2 0924.

Comment 3 Bingxue Xu CLA 2006-09-29 19:15:58 EDT
v,closed.