Package com.nomagic.magicdraw.simulation
Class SimulationProfile.TimelineChartStereotype
java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.magicdraw.simulation.SimulationProfile.TimelineChartStereotype
- Enclosing class:
- SimulationProfile
public static class SimulationProfile.TimelineChartStereotype
extends ProfileImplementation.StereotypeWrapper
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Annotate requirement and constraint failures on charts in red.static final String
To show or hide a context plot.static final String
If true, the chart will show only States or Actions actually used and sorted by occurrence.static final String
To specify whether a time series chart will automatically adjust the range in Y-axis.static final String
Specify the fixed range to the time axis of the chart.static final String
Specify the starting time of the time axis shown in the chart.static final String
To show or hide a vertical grid line.static final String
To show or hide a horizontal grid line.static final String
The list of Elements which will be ignored to display in Timeline Chart.static final String
If true, the chart will keep open after termination of the simulation.static final String
If true, a curvilinear graph will be displayed.static final String
A loaded CSV file that the Time Series Chart will load as a curved line graph.static final String
To specify an upper bound value of Y-axis.static final String
To specify a lower bound value of Y-axis.static final String
Specify nested property pathsstatic final String
To specify a plot color.static final String
Results shall be saved to a file as a selected format, if Result File is specified.static final String
Specify the time intervals at which the timeline chart should be refreshed.static final String
Specify the classifier represented by the configuration.static final String
If Result File is specified, results shall be saved to the file as a selected format in "Record Plot Data As" option.static final String
static final String
static final String
To select whether to show the Timeline of state or activity.static final String
To specify the title of a chart.static final String
Structural feature which value should be represented for the configuration.static final String
Specify the label of y-axis of the chart. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addIgnoredElements
(Element element, Element value) void
addLoadCSVFile
(Element element, String value) void
addNestedPropertyPaths
(Element element, String value) void
addPlotColor
(Element element, String value) void
protected void
clear()
void
clearAnnotateFailures
(Element element) void
clearContextPlot
(Element element) void
clearDynamic
(Element element) void
clearFixedRange
(Element element) void
clearFixedTimeLength
(Element element) void
clearFixedTimeLocation
(Element element) void
clearGridX
(Element element) void
clearGridY
(Element element) void
clearIgnoredElements
(Element element) void
clearKeepOpenAfterTermination
(Element element) void
clearLinearInterpolation
(Element element) void
clearLoadCSVFile
(Element element) void
clearMaxValue
(Element element) void
clearMinValue
(Element element) void
clearNestedPropertyPaths
(Element element) void
clearPlotColor
(Element element) void
clearRecordPlotDataAs
(Element element) void
clearRefreshRate
(Element element) void
clearRepresents
(Element element) void
clearResultFile
(Element element) void
clearSource
(Element element) void
clearTimelineMode
(Element element) void
clearTitle
(Element element) void
clearValue
(Element element) void
clearYLabel
(Element element) getFixedTimeLength
(Element element) getFixedTimeLocation
(Element element) getIgnoredElements
(Element element) getLoadCSVFile
(Element element) getMaxValue
(Element element) getMinValue
(Element element) getNestedPropertyPaths
(Element element) getPlotColor
(Element element) getRecordPlotDataAs
(Element element) getRefreshRate
(Element element) getRepresents
(Element element) getResultFile
(Element element) Returns stereotype for this wrapper.getTimelineMode
(Element element) boolean
isAnnotateFailures
(Element element) isContextPlot
(Element element) isFixedRange
(Element element) static boolean
isInstance
(Element element) isKeepOpenAfterTermination
(Element element) isLinearInterpolation
(Element element) void
removeIgnoredElements
(Element element, Element value) void
removeLoadCSVFile
(Element element, String value) void
removeNestedPropertyPaths
(Element element, String value) void
removePlotColor
(Element element, String value) void
removeValue
(Element element, Element value) void
setAnnotateFailures
(Element element, Boolean value) void
setContextPlot
(Element element, Boolean value) void
setDynamic
(Element element, Boolean value) void
setFixedRange
(Element element, Boolean value) void
setFixedTimeLength
(Element element, Integer value) void
setFixedTimeLocation
(Element element, Integer value) void
void
void
setIgnoredElements
(Element element, Collection<? extends Element> value) void
setKeepOpenAfterTermination
(Element element, Boolean value) void
setLinearInterpolation
(Element element, Boolean value) void
setLoadCSVFile
(Element element, Collection<String> value) void
setMaxValue
(Element element, String value) void
setMinValue
(Element element, String value) void
setNestedPropertyPaths
(Element element, Collection<String> value) void
setPlotColor
(Element element, Collection<String> value) void
setRecordPlotDataAs
(Element element, SimulationProfile.DataRecordTypeEnum value) void
setRefreshRate
(Element element, Integer value) void
setRepresents
(Element element, Element value) void
setResultFile
(Element element, String value) void
void
setTimelineMode
(Element element, SimulationProfile.TimelineModeEnum value) void
void
setValue
(Element element, Collection<? extends Element> value) void
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
CONTEXTPLOT
To show or hide a context plot.- See Also:
-
DYNAMIC
If true, the chart will show only States or Actions actually used and sorted by occurrence. Otherwise, the list of static Behaviors will be shown, and the chart will not be empty when open.- See Also:
-
FIXEDTIMELENGTH
Specify the fixed range to the time axis of the chart. If the value is specified, the range of the time axis will be fixed to the specified value. If the value of Fixed Time Location is unspecified, the plot(s) will move to the left if the time is greater than the maximum value of the time axis. The unit of fixed time length is specified by time unit tag definition of the execution config. If the time unit is unspecified, millisecond will be by default.- See Also:
-
IGNOREDELEMENTS
The list of Elements which will be ignored to display in Timeline Chart. This list will take priority over the Value list.- See Also:
-
REFRESHRATE
Specify the time intervals at which the timeline chart should be refreshed. The unit of the refresh rate is the same as the Time Unit property value of the Simulation Configuration. If the time unit is not specified, the refresh rate is measured in milliseconds. If the refresh rate is not specified, the value of 0 is used, which refreshes the chart every time the value is changed.- See Also:
-
SOURCE
- See Also:
-
TIMELINEMODE
To select whether to show the Timeline of state or activity.- See Also:
-
ANNOTATEFAILURES
Annotate requirement and constraint failures on charts in red.- See Also:
-
FIXEDRANGE
To specify whether a time series chart will automatically adjust the range in Y-axis. If the value is true, the range of Y-axis will be fixed; otherwise the range will be automatically changed.- See Also:
-
FIXEDTIMELOCATION
Specify the starting time of the time axis shown in the chart. If the value is unspecified while the value of Fixed Time Length is specified, the chart will work like an oscilloscope. The plot(s) will move to the left. The unit of fixed time location is specified by time unit tag definition of the execution config. If the time unit is unspecified, millisecond will be by default.- See Also:
-
GRIDX
To show or hide a vertical grid line.- See Also:
-
GRIDY
To show or hide a horizontal grid line.- See Also:
-
KEEPOPENAFTERTERMINATION
If true, the chart will keep open after termination of the simulation.- See Also:
-
LINEARINTERPOLATION
If true, a curvilinear graph will be displayed. If false, a linear graph will be displayed.- See Also:
-
LOADCSVFILE
A loaded CSV file that the Time Series Chart will load as a curved line graph. You can import multiple CSV files into the Time Series Chart and load them as curved line graphs. They will be represented with different colors and legend names (same as the filename extension) so that you can compare the differences between the actual results and the desired line graphs.- See Also:
-
MAXVALUE
To specify an upper bound value of Y-axis.- See Also:
-
MINVALUE
To specify a lower bound value of Y-axis.- See Also:
-
PLOTCOLOR
To specify a plot color.- See Also:
-
RECORDPLOTDATAAS
Results shall be saved to a file as a selected format, if Result File is specified.- See Also:
-
RESULTFILE
If Result File is specified, results shall be saved to the file as a selected format in "Record Plot Data As" option. Otherwise, results shall be saved into the results model element.- See Also:
-
TITLE
To specify the title of a chart.- See Also:
-
YLABEL
Specify the label of y-axis of the chart.- See Also:
-
NESTEDPROPERTYPATHS
Specify nested property paths- See Also:
-
REPRESENTS
Specify the classifier represented by the configuration.- See Also:
-
VALUE
Structural feature which value should be represented for the configuration.- See Also:
-
-
Constructor Details
-
TimelineChartStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getContextPlotProperty
-
getDynamicProperty
-
getFixedTimeLengthProperty
-
getIgnoredElementsProperty
-
getRefreshRateProperty
-
getSourceProperty
-
getTimelineModeProperty
-
getAnnotateFailuresProperty
-
getFixedRangeProperty
-
getFixedTimeLocationProperty
-
getGridXProperty
-
getGridYProperty
-
getKeepOpenAfterTerminationProperty
-
getLinearInterpolationProperty
-
getLoadCSVFileProperty
-
getMaxValueProperty
-
getMinValueProperty
-
getPlotColorProperty
-
getRecordPlotDataAsProperty
-
getResultFileProperty
-
getTitleProperty
-
getYLabelProperty
-
getNestedPropertyPathsProperty
-
getRepresentsProperty
-
getValueProperty
-
setContextPlot
-
clearContextPlot
-
isContextPlot
-
setDynamic
-
clearDynamic
-
isDynamic
-
setFixedTimeLength
-
clearFixedTimeLength
-
getFixedTimeLength
-
setIgnoredElements
-
clearIgnoredElements
-
addIgnoredElements
-
removeIgnoredElements
-
getIgnoredElements
-
setRefreshRate
-
clearRefreshRate
-
getRefreshRate
-
setSource
-
clearSource
-
getSource
-
setTimelineMode
public void setTimelineMode(Element element, @CheckForNull SimulationProfile.TimelineModeEnum value) -
clearTimelineMode
-
getTimelineMode
-
setAnnotateFailures
-
clearAnnotateFailures
-
isAnnotateFailures
-
setFixedRange
-
clearFixedRange
-
isFixedRange
-
setFixedTimeLocation
-
clearFixedTimeLocation
-
getFixedTimeLocation
-
setGridX
-
clearGridX
-
isGridX
-
setGridY
-
clearGridY
-
isGridY
-
setKeepOpenAfterTermination
-
clearKeepOpenAfterTermination
-
isKeepOpenAfterTermination
-
setLinearInterpolation
-
clearLinearInterpolation
-
isLinearInterpolation
-
setLoadCSVFile
-
clearLoadCSVFile
-
addLoadCSVFile
-
removeLoadCSVFile
-
getLoadCSVFile
-
setMaxValue
-
clearMaxValue
-
getMaxValue
-
setMinValue
-
clearMinValue
-
getMinValue
-
setPlotColor
-
clearPlotColor
-
addPlotColor
-
removePlotColor
-
getPlotColor
-
setRecordPlotDataAs
public void setRecordPlotDataAs(Element element, @CheckForNull SimulationProfile.DataRecordTypeEnum value) -
clearRecordPlotDataAs
-
getRecordPlotDataAs
-
setResultFile
-
clearResultFile
-
getResultFile
-
setTitle
-
clearTitle
-
getTitle
-
setYLabel
-
clearYLabel
-
getYLabel
-
setNestedPropertyPaths
-
clearNestedPropertyPaths
-
addNestedPropertyPaths
-
removeNestedPropertyPaths
-
getNestedPropertyPaths
-
setRepresents
-
clearRepresents
-
getRepresents
-
setValue
-
clearValue
-
addValue
-
removeValue
-
getValue
-
clear
protected void clear() -
is
-
isInstance
-