|
|
@@ -38,9 +38,9 @@ import xyz.veronie.bgg.result.ThingProvider; |
|
|
|
import xyz.veronie.bgg.types.EventConstants;
|
|
|
|
import xyz.veronie.bgg.types.ResultAction;
|
|
|
|
import xyz.veronie.bgg.types.SourceFilter;
|
|
|
|
import xyz.veronie.bgg.ui.filters.BggUserSourceFilterComposite;
|
|
|
|
import xyz.veronie.bgg.ui.filters.FamilySourceFilterComposite;
|
|
|
|
import xyz.veronie.bgg.ui.filters.GeeklistSourceFilterComposite;
|
|
|
|
import xyz.veronie.bgg.ui.filters.BggUserSourceFilter;
|
|
|
|
import xyz.veronie.bgg.ui.filters.FamilySourceFilter;
|
|
|
|
import xyz.veronie.bgg.ui.filters.GeeklistSourceFilter;
|
|
|
|
import xyz.veronie.bgg.ui.helpers.BatColors;
|
|
|
|
import xyz.veronie.bgg.ui.helpers.BatLayouts;
|
|
|
|
|
|
|
@@ -213,7 +213,7 @@ public class FetchPart { |
|
|
|
userFilterPage.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
|
|
|
|
IEclipseContext userFilterCtx = EclipseContextFactory.create();
|
|
|
|
userFilterCtx.set(Composite.class, userFilterPage); // parent
|
|
|
|
ContextInjectionFactory.make(BggUserSourceFilterComposite.class, context, userFilterCtx);
|
|
|
|
ContextInjectionFactory.make(BggUserSourceFilter.class, context, userFilterCtx);
|
|
|
|
btnBggUser.addSelectionListener(new SelectionListener() {
|
|
|
|
|
|
|
|
@Override
|
|
|
@@ -235,7 +235,7 @@ public class FetchPart { |
|
|
|
familyPage.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
|
|
|
|
IEclipseContext familyFilterCtx = EclipseContextFactory.create();
|
|
|
|
familyFilterCtx.set(Composite.class, familyPage); // parent
|
|
|
|
ContextInjectionFactory.make(FamilySourceFilterComposite.class, context, familyFilterCtx);;
|
|
|
|
ContextInjectionFactory.make(FamilySourceFilter.class, context, familyFilterCtx);;
|
|
|
|
btnFamily.addSelectionListener(new SelectionListener() {
|
|
|
|
|
|
|
|
@Override
|
|
|
@@ -256,7 +256,7 @@ public class FetchPart { |
|
|
|
geeklistPage.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
|
|
|
|
IEclipseContext geeklistFilterCtx = EclipseContextFactory.create();
|
|
|
|
geeklistFilterCtx.set(Composite.class, geeklistPage); // parent
|
|
|
|
ContextInjectionFactory.make(GeeklistSourceFilterComposite.class, context, geeklistFilterCtx);
|
|
|
|
ContextInjectionFactory.make(GeeklistSourceFilter.class, context, geeklistFilterCtx);
|
|
|
|
btnGeeklist.addSelectionListener(new SelectionListener() {
|
|
|
|
|
|
|
|
@Override
|
|
|
|