From 208f6f9c3aca3277c39b27879562b731fcd05f53 Mon Sep 17 00:00:00 2001 From: Vincent Aravantinos <aravantinos@fortiss.org> Date: Tue, 10 Oct 2017 08:02:21 +0000 Subject: [PATCH] YELLOW --- .../fortiss/tooling/kernel/internal/PrototypeService.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/PrototypeService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/PrototypeService.java index 79f3608a9..7739a1629 100644 --- a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/PrototypeService.java +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/PrototypeService.java @@ -53,7 +53,7 @@ import org.osgi.framework.Bundle; * @author hoelzl * @author $Author$ * @version $Rev$ - * @ConQAT.Rating RED Hash: AF38F053D87CA8F5668824884DBEF236 + * @ConQAT.Rating YELLOW Hash: 518FF7A7F96CCCF60D096BAEA427ABDE */ public class PrototypeService implements IPrototypeService, IIntrospectiveKernelService { /** The singleton instance. */ @@ -101,8 +101,9 @@ public class PrototypeService implements IPrototypeService, IIntrospectiveKernel public String getIntrospectionDescription() { return getIntrospectionLabel() + "\n\nThis service manages the model element prototypes." + - // TODO(VA) Would be nice to define "prototype": I know it's a problem of most - // newcomers that they have no idea what is meant by that, when it intervenes, etc. + "\nTo understand what a prototype is consider what happens when you drag and drop an element from the palette:" + + "\nwhat happens internally is that we copy a reference element from the palette into the project." + + "\nThis reference element is what we call a \"prototype\"" + "\nUsually model elements are composed of a couple of EObjects and have their attributes set to some predefined values." + "\nEach part of the modeling language(s) can register prototype provider classes, which then provide the model elements." + "\n\nThe service extension point is '" + EXTENSION_POINT_NAME + "'."; -- GitLab