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

Bug 314574

Summary: Connection profile extension should allow one profile to suppress/hide another profile
Product: [Tools] Data Tools Reporter: Shenxue Zhou <shenxue.zhou>
Component: ConnectivityAssignee: Brian Fitzpatrick <bfitzpat>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Jesse.Weinstein
Version: 1.8.1   
Target Milestone: 1.8.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch to connection profile extension none

Description Shenxue Zhou CLA 2010-05-26 17:26:39 EDT
Build Identifier: 20100218-1602

Sometimes it's desirable to allow one connection profile to suppress/hide another profile. For example, Oracle connection profile implemented by DTP enablement project doesn't fully support Oracle DB functionality. Oracle connection profile implemented by Oracle provides better support for Oracle DB. It's confusing to user to see two "Oracle" entries in the New Connection profile wizard. If user installs the DB plugin from Oracle, then it's better to hide the connection profile from DTP.

Reproducible: Always

Steps to Reproduce:
1.Show the Data Source Explorer view
2. If user have installed Oracle Enterprise Pack for Eclipse, when right click on "Database Connections" and New Connection Profile wizard is launched, user will see two Oracle entries. One is implemented by DTP Oracle enablement project and one is implemented by Oracle.
Comment 1 Shenxue Zhou CLA 2010-06-01 18:36:29 EDT
Created attachment 170721 [details]
Patch to connection profile extension
Comment 2 Brian Fitzpatrick CLA 2010-06-14 12:58:28 EDT
This should go into 1.8.1 as an additive change
Comment 3 Brian Fitzpatrick CLA 2010-06-24 10:32:57 EDT
Shenxue, one quick question. It might be helpful to be able to not only override, but simply disable or turn off a particular wizard. Can we work that functionality into this patch?
Comment 4 Shenxue Zhou CLA 2010-06-24 11:35:33 EDT
Brain,

Are you thinking to allow a connection profile new wizard extension to disable/turn off itself? Or to allow one connection profile new wizard extension to disable/turn off another connection profile new wizard?
Comment 5 Brian Fitzpatrick CLA 2010-06-24 11:38:15 EDT
Maybe this extension point isn't the best place to turn things off like that then. You may be right. Never mind. I'll go ahead and deliver it as is.
Comment 6 Brian Fitzpatrick CLA 2010-06-24 12:04:10 EDT
Delivered to o.e.d.connectivity and o.e.d.connectivity.ui as tag v201006250003