Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Unable to Hide Java and JavaScript search tabs.(Unable to Hide Java and JavaScript search tabs in the search dialog.)
Unable to Hide Java and JavaScript search tabs. [message #1070113] Wed, 17 July 2013 09:08
Mahesh Maney is currently offline Mahesh Maney
Messages: 28
Registered: July 2009
Junior Member
Hi,
My requirement is to hide all tabs in the Search dialog except the "File Search" tab.
I was able to hide the rest using activityPatternBinding, but the same doesn't seem to work for Java and JavaScript tab.

I was successful in hiding the following tabs;
1. Remote Search
2. Similar Code Search
3. C/C++ Search (added by CDT plugin)
4. Remote C/C++ Search (added by CDT plugin)
5. Task Search
6. Plugin Search and
7. Test Log Search.
However, I'm not able to hide "Java Search" and "JavaScript Search".

I have tried the following patterns to hide the Java search tab.

<extension
point="org.eclipse.ui.activities">
<activity
id="com.unisys.tde.ui.disable.default.search2"
name="DisableDefaultSearch2">
</activity>
<activityPatternBinding
activityId="com.unisys.tde.ui.disable.default.search2"
isEqualityPattern="true"
pattern="org\.eclipse\.jdt\.ui/org\.eclipse\.jdt\.ui.JavaSearchPage">
</activityPatternBinding>
</extension>


and


<extension
point="org.eclipse.ui.activities">
<activity
id="com.unisys.tde.ui.disable.default.search2"
name="DisableDefaultSearch2">
</activity>
<activityPatternBinding
activityId="com.unisys.tde.ui.disable.default.search2"
isEqualityPattern="true"
pattern="org.eclipse.jdt.ui/org.eclipse.jdt.ui.JavaSearchPage">
</activityPatternBinding>
</extension>

Even for a change in approach, I tried "org.eclipse.search.searchPages/org.eclipse.jdt.ui.JavaSearchPage" as the pattern but all in vain.

Same thing happens for "JavaScript Search" also.

It would be really great if anyone can guide me in this regard.

Regards
Mahesh Maney R
Previous Topic:How to close this comment shortcut (shift+Left-double click)?
Next Topic:Exported tableLayout only shows header - works fine in Emulator
Goto Forum:
  


Current Time: Tue Sep 23 16:28:24 GMT 2014

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

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