Skip to content
Snippets Groups Projects
Commit 944f3617 authored by Andreas Bayha's avatar Andreas Bayha
Browse files

RED


Issue-ref: 4149
Issue-URL: af3#4149

Signed-off-by: default avatarAndreas Bayha <bayha@fortiss.org>
parent a6e7542a
No related branches found
No related tags found
1 merge request!181Added correct hash creation in reuse (+ update detection)
This commit is part of merge request !181. Comments created here will be created in the context of that merge request.
...@@ -63,8 +63,9 @@ import org.fortiss.tooling.kernel.ui.extension.data.ContextMenuContextProvider; ...@@ -63,8 +63,9 @@ import org.fortiss.tooling.kernel.ui.extension.data.ContextMenuContextProvider;
public class UpdateFromLibContextMenu implements IContextMenuContributor { public class UpdateFromLibContextMenu implements IContextMenuContributor {
/** The title of the dialog shell(s). */ /** The title of the dialog shell(s). */
private final String shellTitle = "Update Element From Reuse Library"; private /*FIXME (AB) static?*/ final String shellTitle = "Update Element From Reuse Library";
// FIXME(AB) Constants like this should be named with ALL_CAPITAL_LETTERS
/** The string of the context menu entry. */ /** The string of the context menu entry. */
public static final String updateFromContextMenuString = "Update from Reuse Library"; public static final String updateFromContextMenuString = "Update from Reuse Library";
......
...@@ -64,9 +64,10 @@ import org.fortiss.tooling.kernel.ui.extension.data.ContextMenuContextProvider; ...@@ -64,9 +64,10 @@ import org.fortiss.tooling.kernel.ui.extension.data.ContextMenuContextProvider;
public class UpdateInLibContextMenu implements IContextMenuContributor { public class UpdateInLibContextMenu implements IContextMenuContributor {
/** The title of the dialog shell(s). */ /** The title of the dialog shell(s). */
private final String shellTitle = "Update Element In Reuse Library"; private /*FIXME (AB) static!?*/ final String shellTitle = "Update Element In Reuse Library";
/** The string of the context menu entry. */ /** The string of the context menu entry. */
// FIXME(AB) Constants like this should be named with ALL_CAPITAL_LETTERS
public static final String updateInContextMenuString = "Update in Reuse Library"; public static final String updateInContextMenuString = "Update in Reuse Library";
/** {@inheritDoc} */ /** {@inheritDoc} */
......
...@@ -62,6 +62,8 @@ import org.fortiss.tooling.kernel.model.INamedElement; ...@@ -62,6 +62,8 @@ import org.fortiss.tooling.kernel.model.INamedElement;
/** /**
* Utility methods for {@link ReuseLibrary}s and related reuse elements and * Utility methods for {@link ReuseLibrary}s and related reuse elements and
* actions. * actions.
*
* FIXME (AB): Decompose. Maybe the UUID stuff could be moved to a new class ReuseIDUtils or similar?
* *
* @author bergemann * @author bergemann
*/ */
...@@ -292,7 +294,7 @@ public class ReuseLibraryUtils { ...@@ -292,7 +294,7 @@ public class ReuseLibraryUtils {
/** /**
* Returns the UUID of the given reuse element that is stored in the * Returns the UUID of the given reuse element that is stored in the
* {@link ReuseElementSpec} which is connected to the given * {@link ReuseElementSpec} which is connected to the given
* {@link ReuseLibrary}. If such a {@link ReuseElementSpec} odes not exist, an * {@link ReuseLibrary}. If such a {@link ReuseElementSpec} does not exist, an
* empty {@link String} will be returned. * empty {@link String} will be returned.
* *
* @param element The target reuse element * @param element The target reuse element
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment