Bug 281890 Encapsulate IRunAndTrack#notify parameters
IRunAndTrack has a notify method with four parameters. I have found a need for a fifth parameter (the old value on change/remove). The parameter should be encapsulated as an "event" argument so that we will be able to add more event parameters in the future without breaking compatibility
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/internal/UISchedulerStrategy.java
* Returns the singleton UI scheduler instance
	 * 
	 * @return the UI scheduler instance
	 */
	public static ISchedulerStrategy getInstance() {
		return instance;
	}
	public boolean schedule(final IEclipseContext context,
			final IRunAndTrack runnable, final String name,
			final int eventType, final Object[] args) {
		final boolean[] result = new boolean[1];
		Realm realm = Realm.getDefault();
		if (realm == null)
			return false;
		realm.asyncExec(new Runnable() {
			public void run() {
				result[0] = runnable.notify(context, name, eventType, args);
			}
		});
		
		return result[0];
	}
	public void schedule(Runnable runnable) {
		Realm realm = Realm.getDefault();
		if (realm == null)
			return;
		realm.asyncExec(runnable);
	}
}