MenuItem preferencesItem;
public FileMenu(){
if (Context.getInstance().isAvaiable(PermissionsConst.GESTIONAR_PERFILES)){
profileItem = new MenuItem("Perfiles", new ProfilesWindow());
add(profileItem);
}
if (Context.getInstance().isAvaiable(PermissionsConst.GESTIONAR_EVENTOS)){
eventItem = new MenuItem("Eventos", new EventWindow());