Overwriting views in the ecplise ui view extension point [message #1431900] |
Fri, 26 September 2014 09:57 |
Nataraj Samantri Messages: 1 Registered: September 2014 |
Junior Member |
|
|
Hi All,
I have a query on SWT view. In plugin1 we have view called Summary which is created using say class1.java and has extension ID.
<extension point="org.eclipse.ui.views">
<view category="org.eclipse.ui" allowMultiple="true" class="com.teamcenter.rac.ui.views.BrowserSummaryViewPart"
icon="icons_16/referencers_16.png" id="com.teamcenter.rac.ui.views.SummaryView" name="%summary.VIEW"/>
</extension>
I need to overwrite this Summary view using my custom class in Plugin2. And I could able to achieve this by creating another extension using same extension ID and it is working fine.
<extension
point="org.eclipse.ui.views">
<view
allowMultiple="true"
category="org.eclipse.ui"
class="com.nov.rac.form.CustomView"
icon="icons_16/referencers_16.png"
id="com.teamcenter.rac.ui.views.SummaryView"
name="%summary.VIEW">
</view>
</extension>
The query is how to make sure that when an application is running with both Plugin1 and Plugin2 it is always picking the custom class(Plugin2). Wanted experts advice are there any eclipse extensions or other means which will ensure that custom class is picked(Plugin2 is picked always).
|
|
|
Powered by
FUDForum. Page generated in 0.02614 seconds