RendererModel
  • 03 Nov 2020
  • 1 Minute to read
  • Contributors
  • Dark
    Light

RendererModel

  • Dark
    Light

Article summary

net.comactivity.core.renderer.RendererModel

disableActionByLogicalId

Method was removed to avoid confusion. Action wasn't disabled, it was hidden.

Removed

disableActionByLogicalId(String logicalId)

Replace With

setActionVisibilityByLogicalId(String logicalId, RendererModel.ACTION_VISIBILITY_HIDDEN)

enableActionByLogicalId

Method was removed to avoid confusion. Action wasn't enabled, it was made visible.

Removed

enableActionByLogicalId(String logicalId)

Replace With

setActionVisibilityByLogicalId(String logicalId, RendererModel.ACTION_VISIBILITY_VISIBLE)  

disableActionById

Method was removed to avoid confusion. Action wasn't disabled, it was hidden.

Removed

disableActionById(String id)

Replace With

setActionVisibilityById(String id, RendererModel.ACTION_VISIBILITY_HIDDEN)  

enableActionById

Method was removed to avoid confusion. Action wasn't enabled, it was made visible.

Removed

enableActionById(String id)

Replace With

setActionVisibilityById(String id, RendererModel.ACTION_VISIBILITY_VISIBLE)  

setDataInstance

Method was removed to avoid confusion. RendererModel has no DataInstance.

Removed

setDataInstance(DataInstance di)

Replace With

setDataProviders(DataInstance dataInstance)
setData(List<String> activeTabs)

setSegmentColapsed

Misspelled method was removed.

Removed

setSegmentColapsed(String segmentId)

Replace With

setSegmentCollapsed(String segmentId)

isTree

Method with no practical application was removed.

Removed

isTree()

Replace With

false

resolveTree

Method with no practical application was removed.

Removed

resolveTree(DataInstance dataInstance, DialogWorkspace dialogWorkspace)

Replace With

Don't call method.

removeField

Fields should be removed from Segment and not from RendererModel.

Removed

removeField(String segmentId, String columnName, String aliasName, String metadataId)

Replace With

Segment segment = getSegmentById(segmentId);
Field field = segment.getField(null, metadataId, aliasName, columnName);
segment.removeField(field);

Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.