mirror of
https://github.com/peterdell/wudsn-ide.git
synced 2025-01-23 06:32:56 +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>
|
</visibleWhen>
|
||||||
</dynamic>
|
</dynamic>
|
||||||
</toolbar>
|
</toolbar>
|
||||||
<dynamic
|
|
||||||
class="com.wudsn.ide.asm.editor.AssemblerEditorCompileAndRunCommandMenu"
|
|
||||||
id="com.wudsn.ide.asm.editor.AssemblerEditorCompileAndRunCommandMenu2">
|
|
||||||
</dynamic>
|
|
||||||
</menuContribution>
|
</menuContribution>
|
||||||
|
|
||||||
<menuContribution
|
<menuContribution
|
||||||
|
@ -30,16 +30,15 @@ import org.eclipse.swt.widgets.Composite;
|
|||||||
import org.eclipse.swt.widgets.Control;
|
import org.eclipse.swt.widgets.Control;
|
||||||
import org.eclipse.ui.menus.WorkbenchWindowControlContribution;
|
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 final class AssemblerEditorCompileAndRunCommandMenu extends WorkbenchWindowControlContribution {
|
||||||
|
|
||||||
public AssemblerEditorCompileAndRunCommandMenu() {
|
public AssemblerEditorCompileAndRunCommandMenu() {
|
||||||
new Exception("JAC! Test for Startup!").printStackTrace();
|
new Exception("JAC! Test for Startup!").printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
public AssemblerEditorCompileAndRunCommandMenu(String id) {
|
|
||||||
super(id);
|
|
||||||
}
|
|
||||||
|
|
||||||
@AboutToShow
|
@AboutToShow
|
||||||
public void aboutToShow(List<MMenuElement> items) {
|
public void aboutToShow(List<MMenuElement> items) {
|
||||||
@ -54,7 +53,6 @@ public final class AssemblerEditorCompileAndRunCommandMenu extends WorkbenchWind
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected Control createControl(Composite parent) {
|
protected Control createControl(Composite parent) {
|
||||||
// TODO Auto-generated method stub
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user