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 133696 Details for
Bug 249066
dependency analysis not primed for non-workspace plug-ins
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch
bug 249066.txt (text/plain), 1.59 KB, created by
Deepak Azad
on 2009-04-29 03:17:15 EDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Deepak Azad
Created:
2009-04-29 03:17:15 EDT
Size:
1.59 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.pde.ui >Index: src/org/eclipse/pde/internal/ui/editor/plugin/DependencyAnalysisSection.java >=================================================================== >RCS file: /cvsroot/eclipse/pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/plugin/DependencyAnalysisSection.java,v >retrieving revision 1.27 >diff -u -r1.27 DependencyAnalysisSection.java >--- src/org/eclipse/pde/internal/ui/editor/plugin/DependencyAnalysisSection.java 16 Jan 2008 17:07:44 -0000 1.27 >+++ src/org/eclipse/pde/internal/ui/editor/plugin/DependencyAnalysisSection.java 22 Apr 2009 11:13:18 -0000 >@@ -66,15 +66,24 @@ > else if (e.getHref().equals("loops")) //$NON-NLS-1$ > doFindLoops(); > else if (e.getHref().equals("references")) //$NON-NLS-1$ >- new OpenPluginReferencesAction(PluginRegistry.findModel(getProject())).run(); >+ new OpenPluginReferencesAction(PluginRegistry.findModel(getPlugin().getId())).run(); > else if (e.getHref().equals("hierarchy")) //$NON-NLS-1$ >- new OpenPluginDependenciesAction(PluginRegistry.findModel(getProject())).run(); >+ new OpenPluginDependenciesAction(PluginRegistry.findModel(getPlugin().getId())).run(); > } > }); > > section.setClient(formText); > } > >+ protected IPlugin getPlugin() { >+ IBaseModel model = getPage().getModel(); >+ IPlugin plugin = null; >+ if (model instanceof IPluginModel) { >+ plugin = ((IPluginModel) model).getPlugin(); >+ } >+ return plugin; >+ } >+ > protected void doFindLoops() { > IBaseModel model = getPage().getModel(); > if (model instanceof IPluginModel) {
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
Flags:
caniszczyk
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 249066
: 133696