本文整理匯總了Java中com.intellij.openapi.vcs.actions.VcsContextWrapper類的典型用法代碼示例。如果您正苦於以下問題:Java VcsContextWrapper類的具體用法?Java VcsContextWrapper怎麽用?Java VcsContextWrapper使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
VcsContextWrapper類屬於com.intellij.openapi.vcs.actions包,在下文中一共展示了VcsContextWrapper類的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: getSelection
import com.intellij.openapi.vcs.actions.VcsContextWrapper; //導入依賴的package包/類
@Nullable
private static VcsSelection getSelection(AnActionEvent e) {
VcsContext c = VcsContextWrapper.createCachedInstanceOn(e);
return VcsSelectionUtil.getSelection(c);
}
示例2: createCachedContextOn
import com.intellij.openapi.vcs.actions.VcsContextWrapper; //導入依賴的package包/類
@Override
@NotNull
public VcsContext createCachedContextOn(@NotNull AnActionEvent event) {
return VcsContextWrapper.createCachedInstanceOn(event);
}
示例3: createContextOn
import com.intellij.openapi.vcs.actions.VcsContextWrapper; //導入依賴的package包/類
@Override
@NotNull
public VcsContext createContextOn(@NotNull AnActionEvent event) {
return new VcsContextWrapper(event.getDataContext(), event.getModifiers(), event.getPlace(), event.getPresentation().getText());
}
示例4: createCachedContextOn
import com.intellij.openapi.vcs.actions.VcsContextWrapper; //導入依賴的package包/類
public VcsContext createCachedContextOn(AnActionEvent event) {
return VcsContextWrapper.createCachedInstanceOn(event);
}
示例5: createContextOn
import com.intellij.openapi.vcs.actions.VcsContextWrapper; //導入依賴的package包/類
public VcsContext createContextOn(final AnActionEvent event) {
return new VcsContextWrapper(event.getDataContext(), event.getModifiers(), event.getPlace(), event.getPresentation().getText());
}
示例6: createCachedContextOn
import com.intellij.openapi.vcs.actions.VcsContextWrapper; //導入依賴的package包/類
@Override
@Nonnull
public VcsContext createCachedContextOn(@Nonnull AnActionEvent event) {
return VcsContextWrapper.createCachedInstanceOn(event);
}
示例7: createContextOn
import com.intellij.openapi.vcs.actions.VcsContextWrapper; //導入依賴的package包/類
@Override
@Nonnull
public VcsContext createContextOn(@Nonnull AnActionEvent event) {
return new VcsContextWrapper(event.getDataContext(), event.getModifiers(), event.getPlace(), event.getPresentation().getText());
}