Class CheckoutProjectHandler
- java.lang.Object
-
- org.eclipse.emf.ecp.ui.e4.handlers.CheckoutProjectHandler
-
public class CheckoutProjectHandler extends java.lang.Object
Handler to check out aECPCheckoutSource
.- Author:
- Jonas
-
-
Constructor Summary
Constructors Constructor Description CheckoutProjectHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canExecute(ECPCheckoutSource checkoutSource)
checks if the current selection is anECPCheckoutSource
.void
execute(org.eclipse.swt.widgets.Shell shell, ECPCheckoutSource checkoutSource)
checks out aECPCheckoutSource
.
-
-
-
Method Detail
-
execute
@Execute public void execute(org.eclipse.swt.widgets.Shell shell, @Named("org.eclipse.ui.selection") @Optional ECPCheckoutSource checkoutSource)
checks out aECPCheckoutSource
.- Parameters:
shell
- shell to display a dialogcheckoutSource
- theECPCheckoutSource
to be chcked out
-
canExecute
@CanExecute public boolean canExecute(@Named("org.eclipse.ui.selection") @Optional ECPCheckoutSource checkoutSource)
checks if the current selection is anECPCheckoutSource
.- Parameters:
checkoutSource
- the current selection, if it is anECPCheckoutSource
or null otherwise- Returns:
- if the current selection is an
ECPCheckoutSource
-
-