Package org.scijava

Examples of org.scijava.Context


  /** Creates a new ImageJ application context with all available services. */
  public ImageJ() {
    // TODO: Consider whether to restrict available services
    // to SciJava, SCIFIO and ImageJ by default.
    this(new Context());
  }
View Full Code Here


   *
   * @param empty If true, the context will be empty; otherwise, it will be
   *          initialized with all available services.
   */
  public ImageJ(final boolean empty) {
    this(new Context(empty));
  }
View Full Code Here

   * @throws ClassCastException If any of the given arguments do not implement
   *           the {@link Service} interface.
   */
  @SuppressWarnings({ "rawtypes" })
  public ImageJ(final Class... serviceClasses) {
    this(new Context(serviceClasses));
  }
View Full Code Here

   *
   * @param serviceClasses A collection of types that implement the
   *          {@link Service} interface (e.g., {@code DisplayService.class}).
   */
  public ImageJ(final Collection<Class<? extends Service>> serviceClasses) {
    this(new Context(serviceClasses));
  }
View Full Code Here

TOP

Related Classes of org.scijava.Context

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.