/** * Creates a package selection dialog. * @param parent the parent shell * @param context the runnable context to run the search in * @param flags a combination of <code>F_REMOVE_DUPLICATES</code>, <code>F_SHOW_PARENTS</code>, * <code>F_HIDE_DEFAULT_PACKAGE</code> and <code>F_HIDE_EMPTY_INNER</code> * @param scope the scope defining the available packages. */ public PackageSelectionDialog(Shell parent, IRunnableContext context, int flags, IJavaSearchScope scope) { super(parent, createLabelProvider(flags)); fFlags= flags; fScope= scope; fContext= context; }
/** * Creates a package selection dialog. * @param parent the parent shell * @param context the runnable context to run the search in * @param flags a combination of <code>F_REMOVE_DUPLICATES</code>, <code>F_SHOW_PARENTS</code>, * <code>F_HIDE_DEFAULT_PACKAGE</code> and <code>F_HIDE_EMPTY_INNER</code> * @param scope the scope defining the available packages. */ public PackageSelectionDialog(Shell parent, IRunnableContext context, int flags, IJavaSearchScope scope) { super(parent, createLabelProvider(flags)); fFlags= flags; fScope= scope; fContext= context; }
/** * Creates a package selection dialog. * @param parent the parent shell * @param context the runnable context to run the search in * @param flags a combination of <code>F_REMOVE_DUPLICATES</code>, <code>F_SHOW_PARENTS</code>, * <code>F_HIDE_DEFAULT_PACKAGE</code> and <code>F_HIDE_EMPTY_INNER</code> * @param scope the scope defining the available packages. */ public PackageSelectionDialog(Shell parent, IRunnableContext context, int flags, IJavaSearchScope scope) { super(parent, createLabelProvider(flags)); fFlags= flags; fScope= scope; fContext= context; }