01: /*
02: * MenuJanelaFacotry.java Criado em 7 de Março de 2004, 11:24
03: */
04:
05: package br.com.gfp.windows.builders;
06:
07: import br.com.gfp.security.SecurityManager;
08: import br.com.gfpshare.builder.menu.MenuBuilder;
09: import br.com.gfpshare.builder.menu.MenuCreationException;
10:
11: /**
12: * @author Igor Regis da Silva Simões
13: */
14: public abstract class GFPMenuBuilder extends MenuBuilder {
15: /**
16: * Cria uma nova instância de MenuJanelaFacotry
17: * @param xmlFile Endereço do arquivo xml
18: * @param fileOpen boolean indicando se existe um arquivo aberto
19: * @throws MenuCreationException
20: */
21: public GFPMenuBuilder(String xmlFile, boolean fileOpen)
22: throws MenuCreationException {
23: super (xmlFile, fileOpen);
24: }
25:
26: /**
27: * @see br.com.gfpshare.builder.menu.MenuBuilder#hasAccess(java.lang.String)
28: */
29: @Override
30: public boolean hasAccess(String securityLevel) {
31: return SecurityManager.getManager().hasAccess(securityLevel);
32: }
33: }
|