1 package org.argeo.documents.e4.parts;
2
3 import org.eclipse.e4.core.di.annotations.CanExecute;
4 import org.eclipse.e4.core.di.annotations.Execute;
5
6 public class TestDirectMenuItem {
7 @Execute
8 public void execute() {
9 System.out.println("execute TestDirectMenuItem");
10 }
11
12 @CanExecute
13 public boolean canExecute() {
14 return false;
15 }
16 }