1 19 package org.openharmonise.him.actions.publish; 20 21 import java.awt.event.ActionEvent ; 22 23 import javax.swing.Icon ; 24 25 import org.openharmonise.him.actions.*; 26 import org.openharmonise.vfs.*; 27 import org.openharmonise.vfs.gui.*; 28 29 30 37 public class ActionRemoveFromInternet 38 extends AbstractHIMAction 39 implements HIMAction { 40 41 public static String ACTION_NAME = "UNPUBLISH"; 42 43 46 public ActionRemoveFromInternet() { 47 super(); 48 } 49 50 53 public ActionRemoveFromInternet(VirtualFile vfFile) { 54 super(vfFile); 55 } 56 57 60 public void actionPerformed(ActionEvent arg0) { 61 63 } 64 65 68 public String getDescription() { 69 return "Removes the currently selected file from the website"; 70 } 71 72 75 public String getText() { 76 return "Remove from the website"; 77 } 78 79 82 public String getToolTip() { 83 return this.getDescription(); 84 } 85 86 89 public Icon getIcon() { 90 return IconManager.getInstance().getIcon("16-blank.gif"); 91 } 92 93 96 public int getAcceleratorKeycode() { 97 return 0; 98 } 99 100 103 public String getMnemonic() { 104 return "w"; 105 } 106 107 110 public int getAcceleratorMask() { 111 return 0; 112 } 113 114 } 115 | Popular Tags |