protected WizardPopup createPopup(WizardPopup parent, PopupStep step, Object parentValue) { if (step instanceof ListPopupStep) { return new ListPopupImpl(parent, (ListPopupStep)step, parentValue); } else if (step instanceof TreePopupStep) { return new TreePopupImpl(parent, (TreePopupStep)step, parentValue); } else { throw new IllegalArgumentException(step.getClass().toString()); } }
protected WizardPopup createPopup(WizardPopup parent, PopupStep step, Object parentValue) { if (step instanceof AsyncPopupStep) { return new AsyncPopupImpl(parent, (AsyncPopupStep)step, parentValue); } if (step instanceof ListPopupStep) { return new ListPopupImpl(parent, (ListPopupStep)step, parentValue); } else if (step instanceof TreePopupStep) { return new TreePopupImpl(parent, (TreePopupStep)step, parentValue); } else { throw new IllegalArgumentException(step.getClass().toString()); } }
@NotNull @Override public TreePopup createTree(JBPopup parent, @NotNull TreePopupStep aStep, Object parentValue) { return new TreePopupImpl(parent, aStep, parentValue); }
@NotNull @Override public TreePopup createTree(@NotNull TreePopupStep aStep) { return new TreePopupImpl(aStep); }
@Nonnull @Override public TreePopup createTree(JBPopup parent, @Nonnull TreePopupStep aStep, Object parentValue) { return new TreePopupImpl(parent, aStep, parentValue); }
@Nonnull @Override public TreePopup createTree(@Nonnull TreePopupStep aStep) { return new TreePopupImpl(aStep); }