Question on CheckoutProvider
Hi,
I wonder in IntelliJ 7.0 interface CheckoutProvider has another structure than in IntelliJ 6.0. This is for 7th version:
public interface CheckoutProvider {
@NonNls ExtensionPointName EXTENSION_POINT_NAME = new ExtensionPointName]]>("com.intellij.checkoutProvider");
void doCheckout(@Nullable Listener listener);
@NonNls String getVcsName();
interface Listener {
void directoryCheckedOut(File directory);
void checkoutCompleted();
}
}
In case of 6th version CheckoutProvider doesn't use Listener:
public interface CheckoutProvider extends com.intellij.openapi.components.ApplicationComponent {
void doCheckout();
@org.jetbrains.annotations.NonNls java.lang.String getVcsName();
}
I'm working with IntelliJ 6.0 and in 7th version I use Listener's methods to start creating new project after checkout has been made, is there a way(I mean some other class) for 6th version that will allow to create new project after checkout has been made?
Please sign in to leave a comment.
Hello ALincoln,
The Listener interface was added exactly in order to support creating new
project after checkout. There is no other way to implement this in 6.0.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"