/*********************************************************************************************************************** * * @author Fabrizio Giudici * @version $Id$ * **********************************************************************************************************************/ public abstract class ToolBarModelSupport implements ToolBarModel { @Delegate private final AsSupport asSupport = new AsSupport(this); }
/*********************************************************************************************************************** * * @author Fabrizio Giudici * @version $Id$ * **********************************************************************************************************************/ public class JavaFxHourlyReportPresentation implements HourlyReportPresentation { private final NodeAndDelegate nad = createNodeAndDelegate(JavaFxHourlyReportPresentation.class); @Delegate private final HourlyReportPresentation delegate = nad.getDelegate(); }
/*********************************************************************************************************************** * * @author Fabrizio Giudici * @version $Id$ * **********************************************************************************************************************/ public class JavaFxIBizImporterPresentation implements IBizImporterPresentation { private final NodeAndDelegate nad = createNodeAndDelegate(JavaFxIBizImporterPresentation.class); @Delegate private final IBizImporterPresentation delegate = nad.getDelegate(); }
/*********************************************************************************************************************** * * @author Fabrizio Giudici * @version $Id$ * **********************************************************************************************************************/ public class NetBeansProfileEvaluationMainPresentation implements ProfileEvaluationMainPresentation { @Delegate(types=ProfileEvaluationMainPresentation.class) protected final ProfileEvaluationMainPresentation panel; protected final ProfileEvaluationMainTopComponent topComponent; public NetBeansProfileEvaluationMainPresentation() { assert EventQueue.isDispatchThread(); topComponent = (ProfileEvaluationMainTopComponent)WindowManager.getDefault().findTopComponent("ProfileEvaluationMainTopComponent"); panel = topComponent.getContent(); } }
/*********************************************************************************************************************** * * @author Fabrizio Giudici * @version $Id$ * **********************************************************************************************************************/ public class JavaFxCustomerExplorerPresentation implements CustomerExplorerPresentation { @Getter private final NodeAndDelegate nad = createNodeAndDelegate(JavaFxCustomerExplorerPresentation.class); @Delegate private final CustomerExplorerPresentation delegate = nad.getDelegate(); }
/*********************************************************************************************************************** * * @author Fabrizio Giudici * @version $Id$ * **********************************************************************************************************************/ public class JavaFxProjectExplorerPresentation implements ProjectExplorerPresentation { @Getter private final NodeAndDelegate nad = createNodeAndDelegate(JavaFxProjectExplorerPresentation.class); @Delegate private final ProjectExplorerPresentation delegate = nad.getDelegate(); }
/*********************************************************************************************************************** * * @author Fabrizio Giudici * @version $Id$ * **********************************************************************************************************************/ public class JavaFxJobEventExplorerPresentation implements JobEventExplorerPresentation { @Getter private final NodeAndDelegate nad = createNodeAndDelegate(JavaFxJobEventExplorerPresentation.class); @Delegate private final JobEventExplorerPresentation delegate = nad.getDelegate(); }
implements BoundFunction<DOMAIN_TYPE, CODOMAIN_TYPE> @Delegate // FIXME: weak private final PropertyChangeSupport pcs = new PropertyChangeSupport(this);
implements BoundFunction<DOMAIN_TYPE, CODOMAIN_TYPE> @Delegate // FIXME: weak private final PropertyChangeSupport pcs = new PropertyChangeSupport(this);
/*********************************************************************************************************************** * * @author Fabrizio Giudici * @version $Id$ * **********************************************************************************************************************/ @NoArgsConstructor public class ListOfPersons implements List<Person> { @Delegate private final List<Person> persons = new ArrayList<Person>(); public ListOfPersons (final @Nonnull List<Person> persons) { this.persons.addAll(persons); } }
@Delegate(types=UniformityCheckMainPresentation.class, excludes=DelegateExclusions.class) protected final UniformityCheckMainPanel panel;
@Delegate(types=UniformityCheckMainPresentation.class, excludes=DelegateExclusions.class) protected final UniformityCheckMainPanel panel;
@Delegate(types=UniformityCheckMeasurementPresentation.class, excludes=DelegateExclusions.class) protected final UniformityCheckMeasurementPresentationPanel panel = new UniformityCheckMeasurementPresentationPanel();
@Delegate(types=UniformityCheckMeasurementPresentation.class, excludes=DelegateExclusions.class) protected final UniformityCheckMeasurementPresentationPanel panel = new UniformityCheckMeasurementPresentationPanel();
@Delegate(types=ProfileEvaluationSequencePresentation.class, excludes=DelegateExclusions.class) protected final ProfileEvaluationSequencePanel panel = new ProfileEvaluationSequencePanel();
/*********************************************************************************************************************** * * FIXME: this could probably be merged to the superclass. * * @author Fabrizio Giudici * @version $Id: DecoratorResourceFile.java,v f214f4c8488f 2014/01/03 18:03:50 fabrizio $ * **********************************************************************************************************************/ @ToString(of = "delegate") class DecoratorResourceFile extends DecoratedResourceFileSupport { @Delegate(types = ResourceFile.class, excludes = FileDelegateExclusions.class) @Nonnull private final ResourceFile delegate; public DecoratorResourceFile (final @Nonnull LayeredResourceFileSystem fileSystem, final @Nonnull ResourceFile delegate) { super(fileSystem, delegate); this.delegate = delegate; } }
@Delegate @Nonnull private final AsSupport asSupport;
@Delegate @Nonnull private final AsSupport asSupport;
/*********************************************************************************************************************** * * A {@code DefaultMedia} item is a document that is served as-is, without any processing. It's typically an image or such. * * @author Fabrizio Giudici * @version $Id$ * **********************************************************************************************************************/ @Slf4j @ToString /* package */ class DefaultMedia implements Media { @Nonnull @Getter @Delegate(types=Resource.class) private final Resource resource; /******************************************************************************************************************* * * ******************************************************************************************************************/ public DefaultMedia (final @Nonnull FileObject file) { resource = new DefaultResource(file); } }
@Delegate private final Accounting accounting = Accounting.createNew();