}
}
}
protected boolean allowed(boolean enable) {
if (enable==false) return true;
NamedFrame frame=getCurrentFrame();
if (frame==null) return false;
Project project=getCurrentFrame().getProject();
if (project==null) return false;
if (project.isMaster() && !Environment.getStandAlone() && !Environment.isOpenProj())
return false;