private void doubleClickedNode(Object obj)
    {
        if (obj instanceof File)
        {
            final File f = (File) obj;
            FileType ft = FileType.typeForFile(f);
            
            //Do first action
            for (final FileAction act : Actions.actions)
                if (act.canDoOn(ft))
                {
                    act.doOn(f);
                    break;
                }
        }

    }