Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314574 - Connection profile extension should allow one profile to suppress/hide another profile
Summary: Connection profile extension should allow one profile to suppress/hide anothe...
Status: RESOLVED FIXED
Alias: None
Product: Data Tools
Classification: Tools
Component: Connectivity (show other bugs)
Version: 1.8.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.8.1   Edit
Assignee: Brian Fitzpatrick CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-26 17:26 EDT by Shenxue Zhou CLA
Modified: 2013-09-10 20:27 EDT (History)
1 user (show)

See Also:


Attachments
Patch to connection profile extension (5.65 KB, patch)
2010-06-01 18:36 EDT, Shenxue Zhou CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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