I'm trying to create a plugin it will be showed in Tools menu but only when a project is opened. How can I do it? I need create a project component, then load the action in projectOpened() of that component? Can I do it by specifying in plugin.xml? Or I must do it in code?