Commit cbc7101f authored by Simon Barner's avatar Simon Barner
Browse files

GREEN

Issue-Ref: 3886
Issue-Url: https://af3-developer.fortiss.org/issues/3886

Signed-off-by: Simon Barner's avatarSimon Barner <barner@fortiss.org>
parent 0b6a2bcd
ComponentSpecificationPropertySection.java fb5b6d82090f7ae063a8876b421529075d072939 YELLOW
ComponentSpecificationPropertySection.java fb5b6d82090f7ae063a8876b421529075d072939 GREEN
PortDataPropagation.java 9305d9fd7bb52398bdf227ddf7e1b54adac15808 GREEN
PortInitValueSection.java c25ad3fd1998f35c10a541caad3211f1333ae420 GREEN
PortSpecificationPropertySection.java 180ea52f0c50c4fd3d3ee2a7e59d22d0e3e05c75 RED
......
DashboardWizard.java 327a5ae84e8c8c0e48bfa9694e4827fc14f000a0 YELLOW
DashboardWizard.java 327a5ae84e8c8c0e48bfa9694e4827fc14f000a0 GREEN
DashboardWizardRootElementSelectionBase.java 1fe550598f11da4cdcf1ecc02173dfc2b992b669 GREEN
DashboardWizardSelectAllocation.java 1a9a0db43c3d8e2247804be2de6eccbd0a9aa48c GREEN
DashboardWizardSelectComponentArchitecture.java 26ee0bd9412f05dfad0903d86bda159b0629b722 GREEN
DashboardWizardSelectDataDictionary.java 8322cfbd0c0b0019b67de766303137f2fab77a2d GREEN
DashboardWizardSelectPlatformArchitecture.java be7a3b016564cf2cd16f14efbe75c58aca3dbc79 GREEN
DashboardWizardSelectProjectSource.java 9463d2a5fc69c015ae487606fa529b888b4f9e7c GREEN
DashboardWizardSelectReqirements.java d6bf47af1bcdea062d58f653c1cc1c99f7f790de GREEN
DashboardWizardSelectTaskArchitecture.java 8e52e852435047dba0f68d8dc454a8eb3159e461 GREEN
DashboardWizardSelectTimingSpecification.java 26bceb07a6e7aaa0f82e1162886b0d9091ad3398 GREEN
IDashboardWizardImportPage.java a8bbcbdadd8747a1099875230e359d6925a79f20 GREEN
......@@ -5,5 +5,5 @@ DSMLUtils.java c07eeef09787cea9db98533d346e3e384a232593 GREEN
ExplorationModelElementFactory.java bb48b2d09b92efcb1b2d3e382555089bb7ed5db5 GREEN
ExplorationReflectionUtils.java 62731e1cef32fe93f2c2017f93f5ba1f054d5197 GREEN
ExplorationUtils.java 79f8960b63762045008d27def3752d735dad43f0 GREEN
ModelSnapshotExtractUtils.java b8a9483d24b428b8c45f900d424aa4f9084ba1c9 RED
ModelSnapshotExtractUtils.java 4f023e1247701c0e8f329575caddbbcac0066200 GREEN
PatternFactoryUtils.java bcb1d325aecfef12d29d4eb53b28fe59dbd20e9a GREEN
......@@ -40,8 +40,6 @@ import org.fortiss.af3.exploration.dseml.model.expression.SuperSet;
import org.fortiss.af3.exploration.model.SuperSetMap;
import org.fortiss.af3.exploration.model.project.ModelSnapshot;
import org.fortiss.af3.expression.model.DataDictionary;
import org.fortiss.af3.mira.model.Analysis;
import org.fortiss.af3.mira.model.Requirement;
import org.fortiss.af3.platform.model.ExecutionUnit;
import org.fortiss.af3.platform.model.GatewayUnit;
import org.fortiss.af3.platform.model.MemoryUnit;
......@@ -221,18 +219,4 @@ public class ModelSnapshotExtractUtils {
public static ModelSnapshot createTimingSpecificationSnapshot(TimingSpecification timingSpec) {
return createModelSnapshot(timingSpec, null);
}
/** Creates a {@link ModelSnapshot} of {@link Requirement}s relevant for the DSE. */
public static ModelSnapshot createRequirementModelSnapshot(Analysis requirements) {
// FIXME (AB) #3892 - Broken due to minimalized MIRA.
// Collection<SafetyLevelRequirementSpecification> safetyReqSpecsCol =
// getChildrenWithType(requirements, SafetyLevelRequirementSpecification.class);
// SuperSet<SafetyLevelRequirementSpecification> safetyReqSpecs = createSuperSet(
// safetyReqSpecsCol, "Safety Functions", SafetyLevelRequirementSpecification.class);
SuperSetMap reqSetMap = createSuperSetMap();
// reqSetMap.put(SafetyLevelRequirementSpecification.class, safetyReqSpecs);
return createModelSnapshot(requirements, reqSetMap);
}
}
ArrayPropertySection.java 49c7ab946be39d9ba680fc15f45a7ee635923f98 GREEN
EnumPropertySection.java f6c6028c3e082314d5c3ef7c6a07de9f2f21a65e YELLOW
EnumPropertySection.java f6c6028c3e082314d5c3ef7c6a07de9f2f21a65e GREEN
FunctionDefinitionPropertySection.java 6b132b194a8dc7e9cd5c3645bf644aa529a8ca67 GREEN
StructureMemberPropertySection.java 2afb1ca630444ca323f45f6b2114a95a37c73703 YELLOW
StructurePropertySection.java 3d1fe66636166447bb404a18473f9eaa844363a0 YELLOW
StructureMemberPropertySection.java 2afb1ca630444ca323f45f6b2114a95a37c73703 GREEN
StructurePropertySection.java 3d1fe66636166447bb404a18473f9eaa844363a0 GREEN
AF3MiraUIActivator.java 95efcb01a33bcc9888ce74996de2a40a67006abe YELLOW
MiraContextMenuContributor.java cd239d82182cf10c740e2e3449f37f6698b02f99 GREEN
AF3MiraUIActivator.java 69a2ade6276d0b88fcf0bc8d117e426129ba37a6 GREEN
......@@ -37,10 +37,7 @@ import org.fortiss.af3.mira.ui.constraints.SourceConstraintUI;
import org.fortiss.tooling.kernel.ui.service.IConstraintUIService;
import org.osgi.framework.BundleContext;
/**
* The activator class controls the plug-in life cycle
*
*/
/** The activator class controls the plug-in life cycle. */
public class AF3MiraUIActivator extends AbstractUIPlugin {
/** The plug-in ID. */
......
RequirementEditor.java 2bee8b1a6a13fb89edc8e4365723dc2cfdd09682 YELLOW
StringToIDValidator.java 25674733b3bc6a0189ea7e1f52357c2e69ac1025 YELLOW
RequirementEditor.java f722eeb4110185b6572e0f3d85d7078acdbfe158 GREEN
StringToIDValidator.java 25674733b3bc6a0189ea7e1f52357c2e69ac1025 GREEN
......@@ -246,7 +246,6 @@ public class RequirementEditor<T extends Requirement> extends FormsEditorBase<T>
RequirementPriority.values(), editedObject, REQUIREMENT__PRIORITY);
new ImageSection(this, generalComposite, editedObject, toolkit, dbc, form,
registeredSourceViewers);
// createEditDocumentReferences(generalComposite);
}
/** Create a multi line field of a requirement with free text input. */
......@@ -276,7 +275,6 @@ public class RequirementEditor<T extends Requirement> extends FormsEditorBase<T>
}
/** Create a single line field of a requirement with given input. */
@SuppressWarnings({"unchecked", "deprecation"})
private ComboViewer createSingleLineFixedInputRequirementField(Composite composite,
String labelName, Object inputValues, EObject object,
EStructuralFeature observedStructuralFeature) {
......
ContextElementStringValidator.java f900cba2a3004e99dcc22b052175637c238d17ba YELLOW
GlossaryEntryEditorBase.java 9d0e3e04cff47fdb54bb429170bcd5bb6e985af4 YELLOW
TrimStringConverter.java 3a29fd38dc2dc31545fbc78dc7e18b46f295e003 YELLOW
WordElementEditingSupport.java cf229cc57cbf6260b9124a06e3aea09cee9682ca YELLOW
ContextElementStringValidator.java f900cba2a3004e99dcc22b052175637c238d17ba GREEN
GlossaryEntryEditorBase.java 9d0e3e04cff47fdb54bb429170bcd5bb6e985af4 GREEN
TrimStringConverter.java 3a29fd38dc2dc31545fbc78dc7e18b46f295e003 GREEN
WordElementEditingSupport.java cf229cc57cbf6260b9124a06e3aea09cee9682ca GREEN
AnalysisToWordRuleConverter.java a675f9f3c3df9aaf93045fadfbe6193256cf257f YELLOW
ConnectionContentAssistProcessor.java 683858c8fd83d7377c644fc567c3521e1a92a6be YELLOW
AnalysisToWordRuleConverter.java a675f9f3c3df9aaf93045fadfbe6193256cf257f GREEN
ConnectionContentAssistProcessor.java 529292c02ae5f011748d970ddb6f393b75dcb01a GREEN
ConnectionHighlightColorConstants.java bcb80e57a0cd0c448bdc4713d3d2b7e07ad5964f GREEN
ConnectionHighlightConfiguration.java 14c9a5b8e5c5522634de665a7aaedfeeb1e2c1c6 GREEN
ConnectionHighlightScanner.java bd1ba0a420475f2fe3ecd2f6465cf379c22302ff YELLOW
ConnectionHighlightScanner.java fe004cfee93d03be19a4a1bb3361b10406b4f31e GREEN
ConnectionHoverInformationControl.java 4b742ce99b43c31c9864420ed4d6a711cb3d3631 GREEN
ConnectionTextHover.java 65c999c4d1020d9d20c4a5e62eb633f26be9bac9 YELLOW
ListToWordRuleUpdateStrategy.java 08e21f1b7e0979afcbc5ecd2dae612786966a656 YELLOW
ConnectionTextHover.java 65c999c4d1020d9d20c4a5e62eb633f26be9bac9 GREEN
ListToWordRuleUpdateStrategy.java 08e21f1b7e0979afcbc5ecd2dae612786966a656 GREEN
MiraWordRule.java f8a6910146270ae4b85f162845a0cc7c86b4ff05 GREEN
ScannerManager.java a1480c24630bec3ef782a0df84de64517820ba91 YELLOW
ScannerManager.java a1480c24630bec3ef782a0df84de64517820ba91 GREEN
......@@ -42,8 +42,7 @@ import org.fortiss.tooling.base.model.element.IHierarchicElement;
import org.fortiss.tooling.kernel.model.INamedCommentedElement;
/**
* {@link IContentAssistProcessor} for autocompletion of glossary entries, stakeholders, signals,
* etc.
* {@link IContentAssistProcessor} for auto-completion of glossary entries, etc.
*
* @author kisslinger
*/
......
......@@ -31,7 +31,6 @@ import org.fortiss.af3.mira.ui.editor.RequirementEditor;
*
* @author kisslinger
*/
@SuppressWarnings("deprecation")
public class ConnectionHighlightScanner extends RuleBasedScanner {
/** WordRule which is set up to find the all keywords. */
......@@ -55,7 +54,7 @@ public class ConnectionHighlightScanner extends RuleBasedScanner {
private IObservableList<?> observableList;
/** Constructor. */
@SuppressWarnings({"unchecked"})
@SuppressWarnings("unchecked")
public ConnectionHighlightScanner() {
rules = new IRule[1];
observableWordRule =
......
OverviewComparator.java 199353dde8e35028e2ab69002aaa62b2875a23f8 GREEN
OverviewLabelProvider.java b5cecccc2c00791f8b4997bb91b0bea239a90b9b YELLOW
OverviewLabelProvider.java b5cecccc2c00791f8b4997bb91b0bea239a90b9b GREEN
OverviewTreeContentProvider.java 408a2098d6ea2bf29ed0d52077f0cf40650da3a5 GREEN
RequirementsOverviewEditor.java 463f63e9f053226d46978c9c3ede608e70bbc8b0 YELLOW
RequirementsOverviewEditor.java f389b6b976ed79f7fc8e716a1e3d2008e460c84e GREEN
......@@ -85,11 +85,7 @@ public class RequirementsOverviewEditor<T extends IHierarchicElement> extends Fo
this.label = label;
}
/**
* Return the label.
*
* @return label
*/
/** Getter for {@link #label}. */
public String getLabel() {
return label;
}
......
AnalysisEditorBinding.java 265d20bd113a38c692254e54310331bbb755af00 YELLOW
GlossaryEditorBinding.java 1cae777168c40a5d7cd8d3e7736abd5b6dbb2dfa YELLOW
GlossaryEntryEditorBinding.java 4508219ba0dcfcafcf081f8d847d77e88cfa41be YELLOW
RequirementEditorBinding.java d6a58d1ece5fa633501a1f069572bb656e777327 YELLOW
RequirementsContainerEditorBinding.java c4557c66a92724ab25168f344d889a6c21620b2a YELLOW
RequirementsPackageEditorBinding.java e9ab9f355d117fe46d4ef6f58110c74ed5a02733 YELLOW
AnalysisEditorBinding.java 265d20bd113a38c692254e54310331bbb755af00 GREEN
GlossaryEditorBinding.java e372f8ba9d525a91121ea3353f2de80fa1374f26 GREEN
GlossaryEntryEditorBinding.java 4508219ba0dcfcafcf081f8d847d77e88cfa41be GREEN
RequirementEditorBinding.java d6a58d1ece5fa633501a1f069572bb656e777327 GREEN
RequirementsContainerEditorBinding.java c4557c66a92724ab25168f344d889a6c21620b2a GREEN
RequirementsPackageEditorBinding.java e9ab9f355d117fe46d4ef6f58110c74ed5a02733 GREEN
......@@ -27,7 +27,6 @@ import org.fortiss.tooling.kernel.ui.extension.base.ModelEditorBindingBase;
* Extension of {@link ModelEditorBindingBase} for {@link Glossary}
*
* @author mou
*
*/
public class GlossaryEditorBinding extends ModelEditorBindingBase<Analysis> {
......
AnalysisHandler.java 13127bcfc32c55261fb699a03fa614d579fddcfa GREEN
GlossaryEntryHandler.java e8d9100791c218e8897cf64f1beaf6afb42adeb5 GREEN
GlossaryHandler.java 5399ca3ba430b1f25f40e2b8f99fea126e686d34 GREEN
RequirementHandler.java 9488c816b5b13c7fa13e11507dd8db1af720a494 YELLOW
RequirementHandler.java 9488c816b5b13c7fa13e11507dd8db1af720a494 GREEN
RequirementRelationStatusHandler.java 4fca19e5048f4379ff98228c0b3065bfeb90122e GREEN
RequirementSpecificationHandler.java 8b40f9f3be20cdd70d7c7f9822c4e14c462284b7 GREEN
RequirementsContainerHandler.java e23b42b1d0473c3429f801c238f786f81eef8b58 GREEN
......
ContextUtils.java 273aa06af2c15073bbbdd6f1a8112190732eaa9b GREEN
HighlightUtils.java 4241dad86be05c9e4b3acc0f337849ef9d65271a YELLOW
ImageUtils.java 7fa1e146283852f5cf817b922028f06515f7d00a YELLOW
ListenerUtils.java a33da975a9e64175712c1a3f1bcb67a6f4b4c8e9 YELLOW
HighlightUtils.java 9797de10e9c1fd6475bd1eda4d9a55746c17a219 GREEN
ImageUtils.java b87b930301c11cce514b9fb38e148bd00fe60d68 GREEN
ListenerUtils.java a33da975a9e64175712c1a3f1bcb67a6f4b4c8e9 GREEN
MiraLayoutUtils.java 0ed0d5731be847edb8454acc27de691ac3ee28e9 GREEN
ReqSelectionDialog.java e5655f4f6167d0253ca7946b2cdec2d654d50bb1 GREEN
RequirementDocumentFileUtils.java fd3af811c69760ba37f43419c05a284615f3326f GREEN
RequirementUtils.java f8b56d35d9ebfb806d05c15a2df5361618a374f1 YELLOW
SelectionDialogUtils.java ed5c8f4f66f866922fbdbe0fc35b2063806b4e82 YELLOW
TableColumnUtils.java 275171744a4a7dd571ad1eb07800cfc600a37138 GREEN
TableRowIndexMap.java 8931bcb57f36079ae780def18592d7bde4c8be5e GREEN
TableRowSelectionButtonMap.java 5a93b0684cd67351f097368cce81819159867735 GREEN
......@@ -28,6 +28,7 @@ import java.util.List;
import org.eclipse.core.runtime.Status;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.DefaultTextHover;
import org.eclipse.jface.text.Document;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.IRegion;
......@@ -119,6 +120,8 @@ public class HighlightUtils {
}
/**
* Create a {@link SourceViewer} to show highlighted texts.
*
* @param form
* cached form object.. this is a simple form not specific to a requirement
* @param parent
......@@ -144,13 +147,7 @@ public class HighlightUtils {
return viewer;
}
/**
* @param form
* @param analysis
* @param viewer
* @param editor
* @return {@link Runnable} with the effects of creating the menu item
*/
/** Create a {@link Runnable} with the effects of creating the menu item. */
private static Runnable createGlossaryEntryCommand(final ScrolledForm form,
final Analysis analysis, final SourceViewer viewer, final StyledText editor) {
return () -> {
......@@ -161,10 +158,7 @@ public class HighlightUtils {
};
}
/**
* @param selectedText
* @return true if selected text is empty...
*/
/** Predicate if selected text is empty. */
public static boolean emptyParameterNameExists(String selectedText) {
// check if the selected text is empty or composed of all spaces
......@@ -197,10 +191,10 @@ public class HighlightUtils {
}
/**
* Checks if the hoveredWord together with its surrounding words equals to
* Checks if the editorWord together with its surrounding words equals to
* the savedString.
*
* Surrounding words are necessary as the hoveredWord might e.g. be "light"
* Surrounding words are necessary as the editorWord might e.g. be "light"
* and the savedString "traffic light".
*
* @param editorWord
......@@ -212,7 +206,7 @@ public class HighlightUtils {
* @param textViewer
* {@link ITextViewer} displaying the word
* @param hoverRegion
* the {@link IRegion} of the hovered word in the textviewer
* the {@link IRegion} of the hovered word in the textViewer
* @param onlyCheckFrontPart
* set to true if only those parts until the current end of the
* editor word should be checked. Used for autocomplete, the
......@@ -268,7 +262,6 @@ public class HighlightUtils {
}
/**
*
* Opens a dialog to chose a glossary and returns selected item.
*
* @param shell
......@@ -309,11 +302,7 @@ public class HighlightUtils {
/**
* Method to find a word in a document around the given offset location.
*
* Taken from DefaultTextHover class
*
* @param document
* @param offset
* @return region of the found word
* Cloned from {@link DefaultTextHover}.
*/
public static IRegion findWord(IDocument document, int offset) {
int start = -2;
......@@ -366,10 +355,7 @@ public class HighlightUtils {
/**
* Method to remove duplicate {@link ICompletionProposal} element.
*
* Taken from DefaultTextHover class
*
* @param proposalList
* @return a list of {@link ICompletionProposal} after remove duplicate element
* Cloned from {@link DefaultTextHover}.
*/
public static List<ICompletionProposal>
removeDuplicateICompletionProposal(List<ICompletionProposal> proposalList) {
......
Markdown is supported
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