X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.project%2Fsrc%2Forg%2Fsimantics%2Fproject%2Ffeatures%2FCompatibility.java;fp=bundles%2Forg.simantics.project%2Fsrc%2Forg%2Fsimantics%2Fproject%2Ffeatures%2FCompatibility.java;h=0a8b9dc3b0272af1cc4c2eed4b0ece00181ce6cc;hp=a851ea06714bf06b59ddf40f0ffe0533d0529983;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/bundles/org.simantics.project/src/org/simantics/project/features/Compatibility.java b/bundles/org.simantics.project/src/org/simantics/project/features/Compatibility.java index a851ea067..0a8b9dc3b 100644 --- a/bundles/org.simantics.project/src/org/simantics/project/features/Compatibility.java +++ b/bundles/org.simantics.project/src/org/simantics/project/features/Compatibility.java @@ -1,32 +1,32 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management - * in Industry THTH ry. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ -package org.simantics.project.features; - -import java.util.EnumSet; - -/** - * Describes the possible types of compatibility that can occur between two - * project features. - * - * @author Tuukka Lehtonen - */ -public enum Compatibility { - COMPATIBLE, - UNKNOWN, - INCOMPATIBLE; - - public static final EnumSet MAYBE_COMPATIBLE = EnumSet.of(Compatibility.COMPATIBLE, - Compatibility.UNKNOWN); - - public static final EnumSet MAYBE_INCOMPATIBLE = EnumSet.of(Compatibility.UNKNOWN, - Compatibility.INCOMPATIBLE); -} +/******************************************************************************* + * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * in Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ +package org.simantics.project.features; + +import java.util.EnumSet; + +/** + * Describes the possible types of compatibility that can occur between two + * project features. + * + * @author Tuukka Lehtonen + */ +public enum Compatibility { + COMPATIBLE, + UNKNOWN, + INCOMPATIBLE; + + public static final EnumSet MAYBE_COMPATIBLE = EnumSet.of(Compatibility.COMPATIBLE, + Compatibility.UNKNOWN); + + public static final EnumSet MAYBE_INCOMPATIBLE = EnumSet.of(Compatibility.UNKNOWN, + Compatibility.INCOMPATIBLE); +}