There are other cases where aspects combined with annotations can be used
efficiently:

E.g., instead of writing

public void myUICode() {
 Display.syncExec( new Runnable() {
  public void run() {
  ... do something
  }
 } );
}

you would just do...

@RunInUI( sync = true )
public void myUICode() {
 ... do something
}

There are many other use cases like this one...
_______________________________________________
e4-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/e4-dev

Reply via email to