Bug 242230 - [UI] provide CDO server preferences
Summary: [UI] provide CDO server preferences
Status: NEW
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.ui (show other bugs)
Version: 4.13   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Victor Roldan Betancort CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2008-07-28 09:04 EDT by Andre Dietisheim CLA
Modified: 2020-12-11 10:37 EST (History)
2 users (show)

See Also:
stepper: iplog-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Dietisheim CLA 2008-07-28 09:04:02 EDT
Build ID: I20080617-2000

Steps To Reproduce:
none, it's an enhancement

More information:
Currently you use the CDO editor by creating a session to a server in the CDO view. The CDO view is perfect in development setups. It does not fit customer installations. In these situation you'd like to have to set a server once in the preferences. Furthermore a customer want's to have sessions and transactions handled in a transparent manner
Comment 1 Eike Stepper CLA 2008-07-28 09:52:33 EDT
Good idea!

I already thought about providing a client side CDORepository abstraction for a server side IRepository. This would work in the direction you proposed.

For sessions and transactions (or views or audits) I propose to add two things:

a) Registries for both CDOSession and CDOView (includes CDOTransaction and CDOAudit) that are able to map a String ID to an instance.

b) Extension points for both CDOSession and CDOView (CDOTransaction and CDOAudit might need separate extension points) that are able to instantiate identifiable instances and register them with the registries (a).
Comment 2 Andre Dietisheim CLA 2008-07-28 11:23:21 EDT
sounds good. Just make sure I understand you right:
the cdo server/transaction preferences view would trigger the registries to create corresponding instances. What UI would you suggest to feed these to the CDOEditor? Preinstantiate it in the CDO view when that one is started? 

(In reply to comment #1)
> Good idea!
> 
> I already thought about providing a client side CDORepository abstraction for a
> server side IRepository. This would work in the direction you proposed.
> 
> For sessions and transactions (or views or audits) I propose to add two things:
> 
> a) Registries for both CDOSession and CDOView (includes CDOTransaction and
> CDOAudit) that are able to map a String ID to an instance.
> 
> b) Extension points for both CDOSession and CDOView (CDOTransaction and
> CDOAudit might need separate extension points) that are able to instantiate
> identifiable instances and register them with the registries (a).
> 

Comment 3 Eike Stepper CLA 2008-07-28 11:58:32 EDT
I would see the two registries similar to the global EPackage.Registry of EMF. It has no configuration but is initially populated through the extension points. The user interface could manage preference pages to further configure the registries and persist/load the settings as needed.

Of course the registry must be prepared to have lazy descriptors registered by the extension points.

A CDOEditor is always associated with a view so the existing CDOEditorInput is already appropriate. What about a dropdown main menu action with an Open Editor action for each registered view?!
Comment 4 Eike Stepper CLA 2008-12-01 08:35:45 EST
Re-assigning to Vik in preparation of his new committer state...
Comment 5 Victor Roldan Betancort CLA 2008-12-15 06:59:29 EST
Eike, André,

it looks like bug #246623 might fulfil the requirements initially stated by André. Definitions in combination with some preferences UI should suffice.

Eike, do you still want these extension points and registries to be done?
Comment 6 Eike Stepper CLA 2009-11-01 06:00:02 EST
Rebasing all unresolved enhancement requests to 3.0
Comment 7 Eike Stepper CLA 2010-06-29 04:51:02 EDT
Rebasing all outstanding enhancements requests to version 4.0
Comment 8 Eike Stepper CLA 2011-06-23 03:58:42 EDT
Moving all open enhancement requests to 4.1
Comment 9 Eike Stepper CLA 2012-08-14 22:52:50 EDT
Moving all open issues to 4.2. Open bugs can be ported to 4.1 maintenance after they've been fixed in master.
Comment 10 Eike Stepper CLA 2013-06-27 04:08:15 EDT
Moving all outstanding enhancements to 4.3
Comment 11 Eike Stepper CLA 2014-08-19 09:27:03 EDT
Moving all open enhancement requests to 4.4
Comment 12 Eike Stepper CLA 2014-08-19 09:37:01 EDT
Moving all open enhancement requests to 4.4
Comment 13 Eike Stepper CLA 2015-07-14 02:13:30 EDT
Moving all open bugzillas to 4.5.
Comment 14 Eike Stepper CLA 2016-07-31 00:56:25 EDT
Moving all unaddressed bugzillas to 4.6.
Comment 15 Eike Stepper CLA 2017-12-28 01:09:34 EST
Moving all open bugs to 4.7
Comment 16 Eike Stepper CLA 2019-11-08 02:09:17 EST
Moving all unresolved issues to version 4.8-
Comment 17 Eike Stepper CLA 2019-12-13 12:49:37 EST
Moving all unresolved issues to version 4.9
Comment 18 Eike Stepper CLA 2020-12-11 10:37:53 EST
Moving to 4.13.