drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/actions/UpdateAction.java
@SuppressWarnings("unchecked")
    public void run(IAction action) {
        assert(selectedItems != null);
        for (Iterator it = selectedItems.iterator(); it.hasNext();) {
            Object oneItem = it.next();
            if (oneItem instanceof IFile) {
                processUpdate((IFile)oneItem);
            }
        }
        PlatformUtils.updateDecoration();
    }
@SuppressWarnings("unchecked")
    public void run(IAction action) {
        assert(selectedItems != null);
        for (Iterator it = selectedItems.iterator(); it.hasNext();) {
            Object oneItem = it.next();
            if (oneItem instanceof IFile) {
                processUpdate((IFile)oneItem);
            }
        }
        PlatformUtils.updateDecoration();
    }
/*
(non-Javadoc)
@see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)