@Test public void testGetReadOnlyWithReadOnlyValues() { textAnnotation.setAllowOnlyVisualChange(true); for (final String readonlyField : READONLY_FIELDS) { checkIfIsReadOnly(readonlyField); } }
@Override public void setAllowOnlyVisualChange(final boolean allowOnlyVisualChange) { this.allowOnlyVisualChange = allowOnlyVisualChange; }
TextAnnotation extends Artifact implements DMNViewDefinition<GeneralRectangleDimensionsSet>,
                                                        HasText,
                                                        HasContentDefinitionId,
                                                        DynamicReadOnly { @Override public void setAllowOnlyVisualChange(final boolean allowOnlyVisualChange) { this.allowOnlyVisualChange = allowOnlyVisualChange; } }
TextAnnotation extends Artifact implements DMNViewDefinition<GeneralRectangleDimensionsSet>,
                                                        HasText,
                                                        HasContentDefinitionId,
                                                        DynamicReadOnly { @Override public void setAllowOnlyVisualChange(final boolean allowOnlyVisualChange) { this.allowOnlyVisualChange = allowOnlyVisualChange; } TextAnnotation();  TextAnnotation(final Id id,
                          final org.kie.workbench.common.dmn.api.property.dmn.Description description,
                          final Text text,
                          final TextFormat textFormat,
                          final BackgroundSet backgroundSet,
                          final FontSet fontSet,
                          final GeneralRectangleDimensionsSet dimensionsSet); }
TextAnnotation extends Artifact implements DMNViewDefinition<GeneralRectangleDimensionsSet>,
                                                        HasText,
                                                        HasContentDefinitionId,
                                                        DynamicReadOnly { @Override public void setAllowOnlyVisualChange(final boolean allowOnlyVisualChange) { this.allowOnlyVisualChange = allowOnlyVisualChange; } TextAnnotation();  TextAnnotation(final Id id,
                          final org.kie.workbench.common.dmn.api.property.dmn.Description description,
                          final Text text,
                          final TextFormat textFormat,
                          final BackgroundSet backgroundSet,
                          final FontSet fontSet,
                          final GeneralRectangleDimensionsSet dimensionsSet); String getStunnerCategory(); Set<String> getStunnerLabels(); @Override BackgroundSet getBackgroundSet(); void setBackgroundSet(final BackgroundSet backgroundSet); @Override FontSet getFontSet(); void setFontSet(final FontSet fontSet); @Override GeneralRectangleDimensionsSet getDimensionsSet(); void setDimensionsSet(final GeneralRectangleDimensionsSet dimensionsSet); @Override Text getText(); @Override void setText(final Text text); TextFormat getTextFormat(); void setTextFormat(final TextFormat textFormat); @Override String getContentDefinitionId(); @Override String getDiagramId(); @Override void setContentDefinitionId(final String contentDefinitionId); @Override void setDiagramId(final String dmnDiagramId); @Override boolean equals(final Object o); @Override int hashCode(); @Override void setAllowOnlyVisualChange(final boolean allowOnlyVisualChange); @Override boolean isAllowOnlyVisualChange(); @Override ReadOnly getReadOnly(final String fieldName); }
TextAnnotation extends Artifact implements DMNViewDefinition<GeneralRectangleDimensionsSet>,
                                                        HasText,
                                                        HasContentDefinitionId,
                                                        DynamicReadOnly { @Override public void setAllowOnlyVisualChange(final boolean allowOnlyVisualChange) { this.allowOnlyVisualChange = allowOnlyVisualChange; } TextAnnotation();  TextAnnotation(final Id id,
                          final org.kie.workbench.common.dmn.api.property.dmn.Description description,
                          final Text text,
                          final TextFormat textFormat,
                          final BackgroundSet backgroundSet,
                          final FontSet fontSet,
                          final GeneralRectangleDimensionsSet dimensionsSet); String getStunnerCategory(); Set<String> getStunnerLabels(); @Override BackgroundSet getBackgroundSet(); void setBackgroundSet(final BackgroundSet backgroundSet); @Override FontSet getFontSet(); void setFontSet(final FontSet fontSet); @Override GeneralRectangleDimensionsSet getDimensionsSet(); void setDimensionsSet(final GeneralRectangleDimensionsSet dimensionsSet); @Override Text getText(); @Override void setText(final Text text); TextFormat getTextFormat(); void setTextFormat(final TextFormat textFormat); @Override String getContentDefinitionId(); @Override String getDiagramId(); @Override void setContentDefinitionId(final String contentDefinitionId); @Override void setDiagramId(final String dmnDiagramId); @Override boolean equals(final Object o); @Override int hashCode(); @Override void setAllowOnlyVisualChange(final boolean allowOnlyVisualChange); @Override boolean isAllowOnlyVisualChange(); @Override ReadOnly getReadOnly(final String fieldName);  }