1 9 10 package org.netbeans.modules.web.jsf.navigation.graph.actions; 11 12 import java.awt.event.ActionEvent ; 13 import javax.swing.AbstractAction ; 14 import org.openide.util.NbBundle; 15 16 20 public class AddPageAction extends AbstractAction { 21 22 23 public AddPageAction() { 24 putValue(NAME, getDisplayName()); 25 } 26 30 protected String getDisplayName() { 31 return NbBundle.getMessage(AddPageAction.class, "LBL_AddPage"); 32 } 33 34 35 public void actionPerformed(ActionEvent arg0) { 36 System.out.println("OPEN PAGE HERE."); 37 } 38 39 } 40 | Popular Tags |