// Path: src/main/java/edu/utah/ece/async/sboldesigner/sbol/editor/Part.java
// public enum ImageType {
// 	CENTERED_ON_BASELINE(4), SHORT_OVER_BASELINE(8), TALL_OVER_BASELINE(16);
// 
// 	private final int cropRatio;
// 
// 	ImageType(int ratio) {
// 		this.cropRatio = ratio;
// 	}
// }


import java.net.URI;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import org.sbolstandard.core2.Component;
import org.sbolstandard.core2.ComponentDefinition;
import org.sbolstandard.core2.Identified;
import org.sbolstandard.core2.SequenceAnnotation;
import org.sbolstandard.core2.SequenceOntology;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import edu.utah.ece.async.sboldesigner.sbol.editor.Part.ImageType;

/*
 * Copyright (c) 2012 - 2015, Clark & Parsia, LLC. <http://www.clarkparsia.com>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package edu.utah.ece.async.sboldesigner.sbol.editor;





public class Parts {
	private Parts() {
	}

	private static final Map<URI, Part> PARTS = Maps.newHashMap();

	private static final List<Part> PARTS_LIST = Lists.newArrayList();
	
	private static final List<Part> RENDERED_PARTS = Lists.newArrayList();

	// unspecified part is for parts without roles that get opened
	public static final Part UNSPECIFIED = createPart("Unspecified", "UNS", "unspecified.png",

// Path: src/main/java/edu/utah/ece/async/sboldesigner/sbol/editor/Part.java
// public enum ImageType {
// 	CENTERED_ON_BASELINE(4), SHORT_OVER_BASELINE(8), TALL_OVER_BASELINE(16);
// 
// 	private final int cropRatio;
// 
// 	ImageType(int ratio) {
// 		this.cropRatio = ratio;
// 	}
// }


// Path: src/main/java/edu/utah/ece/async/sboldesigner/sbol/editor/Parts.java
import java.net.URI;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import org.sbolstandard.core2.Component;
import org.sbolstandard.core2.ComponentDefinition;
import org.sbolstandard.core2.Identified;
import org.sbolstandard.core2.SequenceAnnotation;
import org.sbolstandard.core2.SequenceOntology;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import edu.utah.ece.async.sboldesigner.sbol.editor.Part.ImageType;

/*
 * Copyright (c) 2012 - 2015, Clark & Parsia, LLC. <http://www.clarkparsia.com>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package edu.utah.ece.async.sboldesigner.sbol.editor;





public class Parts {
	private Parts() {
	}

	private static final Map<URI, Part> PARTS = Maps.newHashMap();

	private static final List<Part> PARTS_LIST = Lists.newArrayList();
	
	private static final List<Part> RENDERED_PARTS = Lists.newArrayList();

	// unspecified part is for parts without roles that get opened
	public static final Part UNSPECIFIED = createPart("Unspecified", "UNS", "unspecified.png",

			ImageType.TALL_OVER_BASELINE, false, SequenceOntology.SEQUENCE_FEATURE);
