Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Overwriting views in the ecplise ui view extension point
Overwriting views in the ecplise ui view extension point [message #1431900] Fri, 26 September 2014 09:57
Nataraj Samantri is currently offline Nataraj SamantriFriend
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).

Previous Topic:Linux SWT Browser JavaScript.window.close() method not working
Next Topic:sql.Date in widget DataTime
Goto Forum:
  


Current Time: Fri Apr 26 02:27:00 GMT 2024

Powered by FUDForum. Page generated in 0.02614 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top