public class DocumentsContextMenu extends AbstractConnectContextMenu
Constructor and Description |
---|
DocumentsContextMenu(DocumentsFolderComposite browser,
DocumentsService documentsService,
DocumentsUiService documentsUiService,
Repository repository) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
aboutToShow(org.eclipse.swt.widgets.Control source,
org.eclipse.swt.graphics.Point location,
org.eclipse.jface.viewers.IStructuredSelection selection) |
protected java.lang.String |
getLabel(java.lang.String actionId) |
protected boolean |
performAction(java.lang.String actionId) |
void |
setCurrFolderPath(java.nio.file.Path currFolderPath) |
void |
show(org.eclipse.swt.widgets.Control source,
org.eclipse.swt.graphics.Point location,
org.eclipse.jface.viewers.IStructuredSelection selection,
java.nio.file.Path currFolderPath) |
createContextMenu, createControl, getParentShell, setVisible, show
public DocumentsContextMenu(DocumentsFolderComposite browser, DocumentsService documentsService, DocumentsUiService documentsUiService, Repository repository)
public void setCurrFolderPath(java.nio.file.Path currFolderPath)
protected boolean aboutToShow(org.eclipse.swt.widgets.Control source, org.eclipse.swt.graphics.Point location, org.eclipse.jface.viewers.IStructuredSelection selection)
aboutToShow
in class AbstractConnectContextMenu
public void show(org.eclipse.swt.widgets.Control source, org.eclipse.swt.graphics.Point location, org.eclipse.jface.viewers.IStructuredSelection selection, java.nio.file.Path currFolderPath)
protected boolean performAction(java.lang.String actionId)
performAction
in class AbstractConnectContextMenu
protected java.lang.String getLabel(java.lang.String actionId)
getLabel
in class AbstractConnectContextMenu
Copyright © 2007–2020. All rights reserved.