1 19 20 21 package org.netbeans.modules.xml.wsdl.ui.view.treeeditor; 22 23 import java.awt.Image ; 24 25 import org.netbeans.modules.xml.wsdl.model.Operation; 26 import org.openide.util.NbBundle; 27 import org.openide.util.Utilities; 28 29 30 35 public class NotificationOperationNode extends OperationNode { 36 37 38 39 private static Image ICON = Utilities.loadImage 40 ("org/netbeans/modules/xml/wsdl/ui/view/resources/notification_operation.png"); 41 42 43 public NotificationOperationNode(Operation wsdlConstruct) { 44 super(wsdlConstruct); 45 } 46 47 @Override 48 public Image getIcon(int type) { 49 return ICON; 50 } 51 52 @Override 53 public Image getOpenedIcon(int type) { 54 return ICON; 55 } 56 57 @Override 58 public String getTypeDisplayName() { 59 return NbBundle.getMessage(NotificationOperationNode.class, "LBL_NotificationOperationNode_TypeDisplayName"); 60 } 61 62 } 63 | Popular Tags |