public CopyPreviewLinkToClipboardAction(String baseURL, int[] fileIDs) {
    setText(G2GuiResources.getString("TT_DOWNLOAD_MENU_PREVIEW_COPY"));
    setImageDescriptor(G2GuiResources.getImageDescriptor("preview"));

    this.fileIDs = fileIDs;
    this.baseURL = baseURL;
  }
Ejemplo n.º 2
0
 public ToggleAction(SystemTray tray, String title) {
   super(tray, title);
   if (shell.isVisible()) setImageDescriptor(G2GuiResources.getImageDescriptor("maximize"));
   else setImageDescriptor(G2GuiResources.getImageDescriptor("restore"));
 }