mirror of
https://github.com/peterdell/wudsn-ide.git
synced 2025-01-08 12:31:11 +00:00
Comment still now working/used AssemblerEditorCompileAndRunCommandMenu
which one day shall replace the action/actionSets
This commit is contained in:
parent
c7f27af406
commit
4cdffe903c
@ -276,10 +276,7 @@
|
||||
</visibleWhen>
|
||||
</dynamic>
|
||||
</toolbar>
|
||||
<dynamic
|
||||
class="com.wudsn.ide.asm.editor.AssemblerEditorCompileAndRunCommandMenu"
|
||||
id="com.wudsn.ide.asm.editor.AssemblerEditorCompileAndRunCommandMenu2">
|
||||
</dynamic>
|
||||
|
||||
</menuContribution>
|
||||
|
||||
<menuContribution
|
||||
|
@ -30,16 +30,15 @@ import org.eclipse.swt.widgets.Composite;
|
||||
import org.eclipse.swt.widgets.Control;
|
||||
import org.eclipse.ui.menus.WorkbenchWindowControlContribution;
|
||||
|
||||
// TODO: Dynamic menu contribution is not working!
|
||||
// TODO: This should become a replacement for the action/actionSet based dynamic menu
|
||||
// See also https://wiki.eclipse.org/Menu_Contributions
|
||||
// Mail sent to grthor@users.sourceforge.net on 2020-10-11.
|
||||
public final class AssemblerEditorCompileAndRunCommandMenu extends WorkbenchWindowControlContribution {
|
||||
|
||||
public AssemblerEditorCompileAndRunCommandMenu() {
|
||||
new Exception("JAC! Test for Startup!").printStackTrace();
|
||||
}
|
||||
|
||||
public AssemblerEditorCompileAndRunCommandMenu(String id) {
|
||||
super(id);
|
||||
}
|
||||
|
||||
@AboutToShow
|
||||
public void aboutToShow(List<MMenuElement> items) {
|
||||
@ -54,7 +53,6 @@ public final class AssemblerEditorCompileAndRunCommandMenu extends WorkbenchWind
|
||||
|
||||
@Override
|
||||
protected Control createControl(Composite parent) {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user