Bug 88724 Provide 'since' javadoc in snippets
It would be a useful additional information in some snippets if there were an @since javadoc tag that tells from which version on the snippet will work. For instance, snippet 175 works only from Eclipse 3.1 on, since it uses the GridData.exclude field which was introduced in 3.1
examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet173.java
public void show(WindowEvent event) {
			Browser browser = (Browser)event.widget;
			final Shell shell = browser.getShell();
			
			if (!event.addressBar && !event.menuBar && !event.statusBar && !event.toolBar) {
				System.out.println("Popup blocked.");
				event.display.asyncExec(new Runnable() {
					public void run() {
						shell.close();
					}
				});
				return;
			}
			if (event.location != null) shell.setLocation(event.location);
			if (event.size != null) {
				Point size = event.size;
				shell.setSize(shell.computeSize(size.x, size.y));
			}
			shell.open();
		}
	});
	browser.addCloseWindowListener(new CloseWindowListener() {
		public void close(WindowEvent event) {
			Browser browser = (Browser)event.widget;
			Shell shell = browser.getShell();
			shell.close();
		}
	});
}
}