Commit c08bf42c authored by Florian Hölzl's avatar Florian Hölzl
Browse files

GREEN

refs 862
parent baac8328
......@@ -34,7 +34,7 @@ import org.fortiss.af3.mira.utils.MiraUtils;
* @author teufl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 5CD68DB97210034C6B9A48D1DC41F525
* @ConQAT.Rating GREEN Hash: BD045B6F63E0DD3583FB09DF4963B665
*/
public class AnalysisLabelProvider implements ITableLabelProvider {
......@@ -114,5 +114,4 @@ public class AnalysisLabelProvider implements ITableLabelProvider {
return null;
}
}
......@@ -20,7 +20,6 @@ package org.fortiss.af3.mira.ui.editor;
import static org.eclipse.core.runtime.Assert.isNotNull;
import static org.eclipse.core.runtime.Assert.isTrue;
import org.eclipse.core.runtime.Assert;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.util.EContentAdapter;
import org.eclipse.jface.viewers.ArrayContentProvider;
......@@ -45,7 +44,7 @@ import org.fortiss.tooling.kernel.ui.presentation.ModelElementLabelProvider;
* @author mou
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 067E0E513648F0F2039B2BE80E327E95
* @ConQAT.Rating GREEN Hash: 7F4A823166130235F062758F5A5ABDA1
*/
public class RelationTargetEditingSupport extends EditingSupport {
......@@ -103,8 +102,8 @@ public class RelationTargetEditingSupport extends EditingSupport {
/** {@inheritDoc} */
@Override
protected Object getValue(Object element) {
Assert.isNotNull(element);
Assert.isTrue(element instanceof RequirementRelation);
isNotNull(element);
isTrue(element instanceof RequirementRelation);
RequirementRelation rel = (RequirementRelation)element;
......@@ -120,8 +119,8 @@ public class RelationTargetEditingSupport extends EditingSupport {
/** {@inheritDoc} */
@Override
protected CellEditor getCellEditor(Object element) {
Assert.isNotNull(element);
Assert.isTrue(element instanceof RequirementRelation);
isNotNull(element);
isTrue(element instanceof RequirementRelation);
Analysis analysis = req.getAnalysis();
......@@ -137,8 +136,8 @@ public class RelationTargetEditingSupport extends EditingSupport {
/** {@inheritDoc} */
@Override
protected boolean canEdit(Object element) {
Assert.isNotNull(element);
Assert.isTrue(element instanceof RequirementRelation);
isNotNull(element);
isTrue(element instanceof RequirementRelation);
return true;
}
......
......@@ -116,7 +116,7 @@ import org.fortiss.tooling.base.ui.editor.FormsEditorBase;
* @author mou
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: EAFC103DCE102BE9F5CC0C224E4439AD
* @ConQAT.Rating GREEN Hash: D60773A24DA9CE7BEF81DAD59905C982
*/
public class RequirementEditor<T extends Requirement> extends FormsEditorBase<T> {
......
......@@ -37,7 +37,7 @@ import org.fortiss.tooling.kernel.service.ICommandStackService;
* @author uden
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 4AC6C7E321B50994C942DC38C5DB83F4
* @ConQAT.Rating GREEN Hash: 0CB4613C5097CA195F3B428FE53D67CD
*/
public final class ScenarioActorEditingSupport extends EditingSupport {
......
......@@ -18,9 +18,9 @@ $Id$
package org.fortiss.af3.mira.ui.editor;
import static org.eclipse.core.databinding.validation.ValidationStatus.error;
import static org.eclipse.core.databinding.validation.ValidationStatus.ok;
import org.eclipse.core.databinding.validation.IValidator;
import org.eclipse.core.databinding.validation.ValidationStatus;
import org.eclipse.core.runtime.IStatus;
import org.fortiss.af3.expression.model.definitions.FunctionDefinition;
import org.fortiss.af3.mira.model.Analysis;
......@@ -32,7 +32,7 @@ import org.fortiss.af3.mira.model.Requirement;
* @author teufl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: EFC0F5B4D51B838A27E5043872024329
* @ConQAT.Rating GREEN Hash: F5C6ADCB16502B60E6AE3FFD4EEFCE6B
*/
public class StringToIDValidator implements IValidator {
......@@ -59,6 +59,6 @@ public class StringToIDValidator implements IValidator {
} catch(Exception e) {
return error(e.getMessage());
}
return ValidationStatus.ok();
return ok();
}
}
......@@ -87,7 +87,7 @@ import org.fortiss.tooling.kernel.ui.service.IModelEditorBindingService;
* @author rosenberger
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 001D0417C57784A50DE29D1023A2DD68
* @ConQAT.Rating GREEN Hash: 8963FEBF59A5D7EDA54E2E9C5059A752
*/
public class UseCaseEditor extends RequirementEditor<UseCase> {
......
......@@ -92,7 +92,7 @@ import org.fortiss.tooling.base.model.layout.EOrientation;
* @author kisslinger
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: A9DBF4D4CD35F08F14606568C5014B0F
* @ConQAT.Rating GREEN Hash: 529698629F5E643D23993D4EA834B385
*/
public class SimpleTrafficLightsRequirementsExample extends
SimpleTrafficLightsStateAutomatonExample {
......
......@@ -39,7 +39,7 @@ import org.fortiss.tooling.kernel.ui.extension.base.ModelElementHandlerBase;
* @author kisslinger
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 5380343CF36E5AE02BB39A81EAA39832
* @ConQAT.Rating GREEN Hash: 7BB19B18DD2C0649EA00DBBEA6FEF3EA
*/
public class GlossaryHandler extends ModelElementHandlerBase<Glossary> {
......@@ -89,5 +89,4 @@ public class GlossaryHandler extends ModelElementHandlerBase<Glossary> {
public int getNavigatorViewWeight() {
return 1000;
}
}
......@@ -36,7 +36,7 @@ import org.fortiss.tooling.kernel.ui.extension.base.NamedCommentedModelElementHa
* @author mou
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 56F096EA5979177272F0C24931498F70
* @ConQAT.Rating GREEN Hash: A8178AA72B056C214B68DF4D709B0A7F
*/
public class RequirementHandler extends NamedCommentedModelElementHandlerBase<Requirement> {
......
......@@ -36,7 +36,7 @@ import org.fortiss.tooling.kernel.ui.extension.base.ModelElementHandlerBase;
* @author mou
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 9ABDCBC365C4FD88C1417D75B43D1A34
* @ConQAT.Rating GREEN Hash: ED50CF057D660D1F503F9CE068E100AB
*/
public class UseCaseHandler extends ModelElementHandlerBase<UseCase> {
......
......@@ -42,7 +42,7 @@ import org.fortiss.tooling.base.ui.editpart.ExtendedLayerRootEditPart;
* @author kisslinger
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 123DDA0DB232C1BC7C39F36792EECD82
* @ConQAT.Rating GREEN Hash: 8F1FE3F2372B57F28FDB869C664ACD55
*/
public class ImageUtils {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment