1 19 20 package org.netbeans.modules.websvc.wsitconf.spi; 21 22 import javax.swing.undo.UndoManager ; 23 import org.netbeans.api.project.Project; 24 import org.netbeans.modules.xml.wsdl.model.WSDLComponent; 25 26 31 public abstract class SecurityProfile { 32 33 public static final String CFG_KEYSTORE="cfgkeystore"; 34 public static final String CFG_TRUSTSTORE="cfgtruststore"; 35 public static final String CFG_VALIDATORS="cfgvalidators"; 36 37 40 public abstract String getDisplayName(); 41 42 45 public abstract String getDescription(); 46 47 50 public abstract int getId(); 51 52 55 public abstract void profileSelected(WSDLComponent component); 56 57 60 public abstract void profileDeselected(WSDLComponent component); 61 62 65 public boolean isProfileSupported(Project p, WSDLComponent component) { 66 return true; 67 } 68 69 72 public abstract boolean isCurrentProfile(WSDLComponent component); 73 74 77 public void displayConfig(WSDLComponent component, UndoManager undoManager) { } 78 } 79 | Popular Tags |