summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
fb88f89)
This will be useful in diffentiating what analyses are considered
"built-in" and which ones were added manually by the user. For
example, some operations might be prevented by the manager (like
deleting non-user-defined analyses). Or a different icon could be
used for them.
Change-Id: I887291f0b754c26cb8aca1e758b1741cb7152f52
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Signed-off-by: Philippe Proulx <pproulx@efficios.com>
Reviewed-on: https://git.eclipse.org/r/71930
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
/* Do nothing */
return new Object();
}
/* Do nothing */
return new Object();
}
+
+ @Override
+ public boolean isUserDefined() {
+ return false;
+ }
+ /**
+ * Returns whether or not this analysis is defined by a user, as opposed to
+ * being built into Trace Compass (or an extension plugin).
+ *
+ * @return <code>true</code> if this analysis is defined by a user
+ */
+ boolean isUserDefined();
+
/**
* Determine if the current analysis can run on the given trace.
*
/**
* Determine if the current analysis can run on the given trace.
*