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

Bug 336917

Summary: [Model Explorer] [Table Editor] Model explorer should support Tabular Editor
Product: [Modeling] Papyrus Reporter: Vincent Lorenzo <vincent.lorenzo>
Component: CoreAssignee: Vincent Lorenzo <vincent.lorenzo>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.8.0   
Target Milestone: 0.8.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 334240    
Attachments:
Description Flags
A patch to adapt the Model Explorer for Tables
none
a patch to adapt the model explorer for Tables
none
a patch to adapt the model explorer for tables
none
mylyn/context/zip none

Description Vincent Lorenzo CLA 2011-02-11 07:08:40 EST
The Model Explorer must be adapted in order to accept tables. 
	1/ The ContentProvider should be completed to returns Tables
	2/ The LabelProvider should be completed to get Table Name
	
	Handlers for the following actions must be implemented (in order have the same behavior as for the diagrams): 
		3/ Rename
		4/ Open
		5/ Open In a New Table
		6/ Close
		7/ Close all
		8/ Delete
		9/ Duplicate 

	We need drag & drop actions for the table : 
	10/ from the ModelExplorer into a Table
	11/ drag & drop Table into the Model Explorer (change the table context)
	12/ drag and drop a table into a diagram (shortcut)
	13/ drag and Drop of tables inside the Model Explorer should be available (so we change the Table Context)
	
	14/adapt the action "Link with editor" ?
Comment 1 Vincent Lorenzo CLA 2011-02-11 07:15:31 EST
Created attachment 188766 [details]
A patch to adapt the Model Explorer for Tables

Requirements 1->9 are done in this patch. 
Note : item 3 works, but we need add a refresh in the editor
Comment 2 Vincent Lorenzo CLA 2011-02-11 07:34:55 EST
15/ double click on a table should open the table
Comment 3 Vincent Lorenzo CLA 2011-02-11 07:37:32 EST
Created attachment 188769 [details]
a patch to adapt the model explorer for Tables

The same as previously + item 15/
Comment 4 Vincent Lorenzo CLA 2011-02-14 08:30:05 EST
Created attachment 188898 [details]
a patch to adapt the model explorer for tables

The same as previous + more test to avoid handler conflict for the rename action
Comment 5 Vincent Lorenzo CLA 2011-02-14 08:30:07 EST
Created attachment 188899 [details]
mylyn/context/zip
Comment 6 Vincent Lorenzo CLA 2011-02-21 05:33:25 EST
The previous patches are obsoletes, because, it's better not to introduce dependencie sbetween ModelExplorer and Table. 
A new plugin, oep.table.modelexplorer should be provided, to improve modelexplorer capabilities.
Comment 7 Vincent Lorenzo CLA 2011-02-22 09:53:53 EST
In R4070-4072 : share the project oep.table.modelexplorer
This plugin provides handler for table actions (Rename, duplicate, ...) and allow to display the tables in the ModelExplorer

In R4071 : minor change in oep.modelexplorer
Comment 8 Vincent Lorenzo CLA 2011-03-01 10:36:00 EST
IN R4099 : Change Rename Handler activation and add a property tester in oep.uml.menu
Comment 9 Vincent Lorenzo CLA 2011-03-02 05:02:31 EST
R4101 : 
Add the Drag&Drop to the Model Explorer
Remove the action : "Add to Table" (from the popup menu of the Model Explorer)
Comment 10 Vincent Lorenzo CLA 2011-03-04 02:58:46 EST
R4121 : Move the Drag Assistant from oep.table.modelexplorer to oep.modelexplorer
Comment 11 Vincent Lorenzo CLA 2011-03-10 09:08:19 EST
R4246 : change the enabled condition for the open/close/close all actions
Comment 12 Vincent Lorenzo CLA 2011-05-19 05:45:15 EDT
In R4727 :  add a test in oep/modelexplorer/plugin.xml for the duplicate handler
Comment 13 Vincent Lorenzo CLA 2013-02-07 04:32:59 EST
This bug can be marked as closed fixed.