org.eclipse.emf.ecp.ui.e4.handlers
Class CheckoutProjectHandler
java.lang.Object
org.eclipse.emf.ecp.ui.e4.handlers.CheckoutProjectHandler
public class CheckoutProjectHandler
- extends Object
Handler to check out a ECPCheckoutSource
.
- Author:
- Jonas
CheckoutProjectHandler
public CheckoutProjectHandler()
execute
@Execute
public void execute(org.eclipse.swt.widgets.Shell shell,
@Named(value="org.eclipse.ui.selection")@Optional
ECPCheckoutSource checkoutSource)
- checks out a
ECPCheckoutSource
.
- Parameters:
shell
- shell to display a dialogcheckoutSource
- the ECPCheckoutSource
to be chcked out
canExecute
@CanExecute
public boolean canExecute(@Named(value="org.eclipse.ui.selection")@Optional
ECPCheckoutSource checkoutSource)
- checks if the current selection is an
ECPCheckoutSource
.
- Parameters:
checkoutSource
- the current selection, if it is an ECPCheckoutSource
or null otherwise
- Returns:
- if the current selection is an
ECPCheckoutSource
Copyright © 2014. All Rights Reserved.