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/Snippet193.java
};
		TreeColumn[] columns = tree.getColumns();
		for (int i = 0; i < columns.length; i++) {
			columns[i].setWidth(100);
			columns[i].setMoveable(true);
			columns[i].addListener(SWT.Move, listener);
		}
		Button b = new Button(shell, SWT.PUSH);
		b.setText("invert column order");
		b.addListener(SWT.Selection, new Listener() {
			public void handleEvent(Event e) {
				int[] order = tree.getColumnOrder();
				for (int i = 0; i < order.length / 2; i++) {
					int temp = order[i];
					order[i] = order[order.length - i - 1];
					order[order.length - i - 1] = temp;
				}
				tree.setColumnOrder(order);
			}
		});
		shell.pack();
		shell.open();
		while (!shell.isDisposed()) {
			if (!display.readAndDispatch())
				display.sleep();
		}
		display.dispose();
	}
}