// Path: src/main/java/org/cytoscape/rest/internal/CyActivator.java
// public class LevelOfDetails {
// 
// 	private final NetworkTaskFactory lod;
// 
// 	public LevelOfDetails(final NetworkTaskFactory tf) {
// 		this.lod = tf;
// 	}
// 
// 	public NetworkTaskFactory getLodTF() {
// 		return lod;
// 	}
// 
// }


import java.io.IOException;
import java.io.InputStream;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import javax.inject.Singleton;
import javax.validation.constraints.NotNull;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.InternalServerErrorException;
import javax.ws.rs.NotFoundException;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;
import org.cytoscape.application.swing.CySwingApplication;
import org.cytoscape.application.swing.CytoPanel;
import org.cytoscape.application.swing.CytoPanelName;
import org.cytoscape.application.swing.CytoPanelState;
import org.cytoscape.rest.internal.CyActivator.LevelOfDetails;
import org.cytoscape.work.TaskIterator;
import org.cytoscape.work.TaskMonitor;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.core.sym.Name;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
package org.cytoscape.rest.internal.resource;






@Singleton
@Path("/v1/ui")
public class UIResource extends AbstractResource {

	@Context
	@NotNull
	protected CySwingApplication desktop;
	
	@Context
	@NotNull
// Path: src/main/java/org/cytoscape/rest/internal/CyActivator.java
// public class LevelOfDetails {
// 
// 	private final NetworkTaskFactory lod;
// 
// 	public LevelOfDetails(final NetworkTaskFactory tf) {
// 		this.lod = tf;
// 	}
// 
// 	public NetworkTaskFactory getLodTF() {
// 		return lod;
// 	}
// 
// }


// Path: src/main/java/org/cytoscape/rest/internal/resource/UIResource.java
import java.io.IOException;
import java.io.InputStream;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import javax.inject.Singleton;
import javax.validation.constraints.NotNull;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.InternalServerErrorException;
import javax.ws.rs.NotFoundException;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;
import org.cytoscape.application.swing.CySwingApplication;
import org.cytoscape.application.swing.CytoPanel;
import org.cytoscape.application.swing.CytoPanelName;
import org.cytoscape.application.swing.CytoPanelState;
import org.cytoscape.rest.internal.CyActivator.LevelOfDetails;
import org.cytoscape.work.TaskIterator;
import org.cytoscape.work.TaskMonitor;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.core.sym.Name;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;

package org.cytoscape.rest.internal.resource;






@Singleton
@Path("/v1/ui")
public class UIResource extends AbstractResource {

	@Context
	@NotNull
	protected CySwingApplication desktop;
	
	@Context
	@NotNull
	protected LevelOfDetails detailsTF;