1 19 20 package com.sslexplorer.core; 21 22 import javax.servlet.http.HttpServletRequest ; 23 import javax.servlet.http.HttpServletResponse ; 24 25 26 32 public class DefaultPanel extends AbstractPanel { 33 34 37 public final static String MAIN_LAYOUT = "main"; 38 39 42 public final static String POPUP_LAYOUT = "popup"; 43 44 53 public DefaultPanel(String id, int placement, int weight, String includePath, String includeAttribute) { 54 this(id, placement, weight, includePath, includeAttribute, "navigation"); 55 } 56 66 public DefaultPanel(String id, int placement, int weight, String includePath, String includeAttribute, String bundle) { 67 super(id, placement, weight, includePath, includeAttribute, bundle, true, true, false, false); 68 } 69 70 81 public DefaultPanel(String id, int placement, int weight, String includePath, String includeAttribute, String bundle, boolean closeable) { 82 super(id, placement, weight, includePath, includeAttribute, bundle, true, closeable, false, false); 83 } 84 85 99 public DefaultPanel(String id, int placement, int weight, String includePath, String includeAttribute, String bundle, boolean minimizable, boolean closeable, boolean dragable, boolean droppable) { 100 super(id, placement, weight, includePath, includeAttribute, bundle, minimizable, closeable, dragable, droppable); 101 } 102 103 106 public boolean isAvailable(HttpServletRequest request, HttpServletResponse response, String layout) { 107 return true; 108 } 109 110 } 111 | Popular Tags |