public class CheckoutProjectHandler extends Object
ECPCheckoutSource
.Constructor and Description |
---|
CheckoutProjectHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
canExecute(ECPCheckoutSource checkoutSource)
checks if the current selection is an
ECPCheckoutSource . |
void |
execute(org.eclipse.swt.widgets.Shell shell,
ECPCheckoutSource checkoutSource)
checks out a
ECPCheckoutSource . |
@Execute public void execute(org.eclipse.swt.widgets.Shell shell, @Named(value="org.eclipse.ui.selection") @Optional ECPCheckoutSource checkoutSource)
ECPCheckoutSource
.shell
- shell to display a dialogcheckoutSource
- the ECPCheckoutSource
to be chcked out@CanExecute public boolean canExecute(@Named(value="org.eclipse.ui.selection") @Optional ECPCheckoutSource checkoutSource)
ECPCheckoutSource
.checkoutSource
- the current selection, if it is an ECPCheckoutSource
or null otherwiseECPCheckoutSource
Copyright © 2019. All rights reserved.