mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-14 04:25:21 +02:00
[cleanup] Add FIXME comment
This commit is contained in:
parent
01eb5c301e
commit
d3fa956593
1 changed files with 11 additions and 10 deletions
|
@ -7,10 +7,10 @@
|
||||||
*
|
*
|
||||||
* Initial Contributors:
|
* Initial Contributors:
|
||||||
* The following IBM employees contributed to the Remote System Explorer
|
* The following IBM employees contributed to the Remote System Explorer
|
||||||
* component that contains this file: David McKnight, Kushal Munir,
|
* component that contains this file: David McKnight, Kushal Munir,
|
||||||
* Michael Berger, David Dykstal, Phil Coulthard, Don Yantzi, Eric Simpson,
|
* Michael Berger, David Dykstal, Phil Coulthard, Don Yantzi, Eric Simpson,
|
||||||
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
|
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* David Dykstal (IBM) - [232355] Go To menu item missing
|
* David Dykstal (IBM) - [232355] Go To menu item missing
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
@ -31,7 +31,7 @@ import org.eclipse.ui.views.framelist.UpAction;
|
||||||
/**
|
/**
|
||||||
* A cascading menu action for "Go To->"
|
* A cascading menu action for "Go To->"
|
||||||
*/
|
*/
|
||||||
public class SystemCascadingGoToAction extends SystemBaseSubMenuAction
|
public class SystemCascadingGoToAction extends SystemBaseSubMenuAction
|
||||||
{
|
{
|
||||||
//private IAdaptable pageInput;
|
//private IAdaptable pageInput;
|
||||||
//private IMenuManager parentMenuManager;
|
//private IMenuManager parentMenuManager;
|
||||||
|
@ -42,9 +42,9 @@ public class SystemCascadingGoToAction extends SystemBaseSubMenuAction
|
||||||
private ForwardAction forwardAction;
|
private ForwardAction forwardAction;
|
||||||
private UpAction upAction;
|
private UpAction upAction;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*/
|
*/
|
||||||
public SystemCascadingGoToAction(Shell shell, SystemViewPart systemViewPart)
|
public SystemCascadingGoToAction(Shell shell, SystemViewPart systemViewPart)
|
||||||
{
|
{
|
||||||
|
@ -52,10 +52,11 @@ public class SystemCascadingGoToAction extends SystemBaseSubMenuAction
|
||||||
setMenuID(ISystemContextMenuConstants.MENU_GOTO);
|
setMenuID(ISystemContextMenuConstants.MENU_GOTO);
|
||||||
this.fSystemViewPart = systemViewPart;
|
this.fSystemViewPart = systemViewPart;
|
||||||
// something in ganymede m7 causes the actions of this menu to be lost, therefore must re-create each time
|
// something in ganymede m7 causes the actions of this menu to be lost, therefore must re-create each time
|
||||||
|
// FIXME this looks like a hack
|
||||||
setCreateMenuEachTime(true);
|
setCreateMenuEachTime(true);
|
||||||
setPopulateMenuEachTime(true);
|
setPopulateMenuEachTime(true);
|
||||||
allowOnMultipleSelection(false);
|
allowOnMultipleSelection(false);
|
||||||
setContextMenuGroup(ISystemContextMenuConstants.GROUP_GOTO);
|
setContextMenuGroup(ISystemContextMenuConstants.GROUP_GOTO);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -71,14 +72,14 @@ public class SystemCascadingGoToAction extends SystemBaseSubMenuAction
|
||||||
return gotoMenu;
|
return gotoMenu;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void makeActions()
|
protected void makeActions()
|
||||||
{
|
{
|
||||||
FrameList frameList = fSystemViewPart.getFrameList();
|
FrameList frameList = fSystemViewPart.getFrameList();
|
||||||
backAction = new BackAction(frameList);
|
backAction = new BackAction(frameList);
|
||||||
forwardAction = new ForwardAction(frameList);
|
forwardAction = new ForwardAction(frameList);
|
||||||
upAction = new UpAction(frameList);
|
upAction = new UpAction(frameList);
|
||||||
|
|
||||||
actionsMade = true;
|
actionsMade = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue