|
|
|
|
|
Re: Disable/remove eclipse cheat sheet drop down menu [message #1444504 is a reply to message #1443957] |
Tue, 14 October 2014 06:54 |
bisoyi J Messages: 12 Registered: September 2014 |
Junior Member |
|
|
Yes let me reply to me again!
finally it is done! XMLIntro is of no use and irrespective of the file change the view preference remains in-consistence.
so I went to the :void com.***.***.launcher.ApplicationWorkbenchWindowAdvisor.openIntro()
{
...........
.....................
iterate for the views :
IWorkbenchWindow[] windowsArray = PlatformUI.getWorkbench().getWorkbenchWindows();
for ( iterate the windowsArray )
{
IWorkbenchPage wrkbnchpage = windows[ i ].getActivePage();
IViewReference[] viewReferencesObj = wrkbnchpage.getViewReferences();
//look for CheatSheetView
for( iterate the viewReferencesObj)
{
if(vr.getId().equals( "org.eclipse.ui.cheatsheets.views.CheatSheetView" ))
{
CheatSheetView cheatSheetViewReference = ( CheatSheetView ) vr.getView( true );
if(cheatSheetViewReference != null)
{
//disable the tool bar and menu contributions
}
}
}
}
[Updated on: Wed, 04 March 2015 11:17] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05134 seconds