1 22 package org.jboss.console.manager.interfaces.impl; 23 24 import org.jboss.console.manager.interfaces.SimpleTreeNodeMenuEntry; 25 import org.jboss.console.manager.interfaces.TreeAction; 26 27 42 43 public class SimpleTreeNodeMenuEntryImpl 44 implements SimpleTreeNodeMenuEntry 45 { 46 47 49 51 protected TreeAction action = null; 52 protected String text = null; 53 54 56 58 public SimpleTreeNodeMenuEntryImpl () {} 59 60 public SimpleTreeNodeMenuEntryImpl (String text, TreeAction action) 61 { 62 this.action = action; 63 this.text = text; 64 } 65 66 68 70 public TreeAction getAction () 71 { 72 return this.action; 73 } 74 75 public String getText () 76 { 77 return this.text; 78 } 79 80 82 84 86 88 90 } 91 | Popular Tags |