Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 70947 Details for
Bug 192084
add 'new profile' action on LocalRepositoryNode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
the fix
patch2.txt (text/plain), 2.62 KB, created by
rob li
on 2007-06-11 23:49:35 EDT
(
hide
)
Description:
the fix
Filename:
MIME Type:
Creator:
rob li
Created:
2007-06-11 23:49:35 EDT
Size:
2.62 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.datatools.connectivity.ui.dse >Index: plugin.xml >=================================================================== >RCS file: /cvsroot/datatools/org.eclipse.datatools.connectivity/plugins/org.eclipse.datatools.connectivity.ui.dse/plugin.xml,v >retrieving revision 1.22 >diff -u -r1.22 plugin.xml >--- plugin.xml 18 May 2007 22:35:24 -0000 1.22 >+++ plugin.xml 12 Jun 2007 03:42:22 -0000 >@@ -241,6 +241,7 @@ > <or> > <instanceof value="org.eclipse.datatools.connectivity.ICategory"/> > <instanceof value="org.eclipse.datatools.connectivity.IConnectionProfile"/> >+ <instanceof value="org.eclipse.datatools.connectivity.internal.ui.LocalRepositoryNode" /> > </or> > </enablement> > </actionProvider> >Index: src/org/eclipse/datatools/connectivity/ui/dse/actions/ProfileActionsActionProvider.java >=================================================================== >RCS file: /cvsroot/datatools/org.eclipse.datatools.connectivity/plugins/org.eclipse.datatools.connectivity.ui.dse/src/org/eclipse/datatools/connectivity/ui/dse/actions/ProfileActionsActionProvider.java,v >retrieving revision 1.14 >diff -u -r1.14 ProfileActionsActionProvider.java >--- src/org/eclipse/datatools/connectivity/ui/dse/actions/ProfileActionsActionProvider.java 18 May 2007 15:02:35 -0000 1.14 >+++ src/org/eclipse/datatools/connectivity/ui/dse/actions/ProfileActionsActionProvider.java 12 Jun 2007 03:42:22 -0000 >@@ -16,6 +16,7 @@ > import org.eclipse.datatools.connectivity.IConnectionProfile; > import org.eclipse.datatools.connectivity.internal.Category; > import org.eclipse.datatools.connectivity.internal.repository.IConnectionProfileRepository; >+import org.eclipse.datatools.connectivity.internal.ui.LocalRepositoryNode; > import org.eclipse.datatools.connectivity.ui.actions.AddProfileViewAction; > import org.eclipse.datatools.connectivity.ui.actions.DeleteAction; > import org.eclipse.datatools.connectivity.ui.actions.RenameAction; >@@ -105,6 +106,11 @@ > addCPAction.setCategory((ICategory) selObject);// = new AddProfileViewAction((ICategory) selObject); > manager.insertBefore(IActionCategoryDefs.MARKER_ID_SLOT1, > addCPAction); >+ }else if(selObject instanceof LocalRepositoryNode){ >+ addCPAction.setParentProfile(null); >+ addCPAction.setCategory((ICategory)null); >+ manager.insertBefore(IActionCategoryDefs.MARKER_ID_SLOT1, >+ addCPAction); > } > else if (selObject instanceof IConnectionProfile > && ((IConnectionProfile) selObject).getConnectionState() == IConnectionProfile.CONNECTED_STATE
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 192084
: 70947