Commit 1ea31e23 authored by Hernan Ponce de Leon's avatar Hernan Ponce de Leon
Browse files

Added the corresponding icon for functional aspect

parent e137b5f2
......@@ -48,7 +48,7 @@ import org.fortiss.tooling.kernel.ui.extension.base.NamedCommentedModelElementHa
* @author mou
* @author $Author$
* @version $Rev$
* @ConQAT.Rating GREEN Hash: 538829FA60B143508F2925FBC53AAB24
* @ConQAT.Rating YELLOW Hash: 51A5E53EB2AF8B64B8FB543F2E693E23
*/
public class RequirementHandler extends NamedCommentedModelElementHandlerBase<Requirement> {
......@@ -156,13 +156,16 @@ public class RequirementHandler extends NamedCommentedModelElementHandlerBase<Re
if(aspectCounter == 1 && formalspecAspect == true) {
return imageDescriptorFromPlugin(PLUGIN_ID, "icons/Icon_ReqwithFunctionalReq.png");
}
if(aspectCounter == 1 && functionalAspect == true) {
return imageDescriptorFromPlugin(PLUGIN_ID, "icons/Icon_ReqwithFunctionalReq.png");
}
if(aspectCounter == 1 && designAspect == true) {
return imageDescriptorFromPlugin(PLUGIN_ID, "icons/Icon_ReqwithDesignChoice.png");
}
if(aspectCounter == 1 && temporalAspect == true) {
return imageDescriptorFromPlugin(PLUGIN_ID, "icons/Icon_ReqwithTemporal.png");
} else
return imageDescriptorFromPlugin(PLUGIN_ID, "icons/Icon_Requirement.png");
}
return imageDescriptorFromPlugin(PLUGIN_ID, "icons/Icon_Requirement.png");
}
/** {@inheritDoc} */
......
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