Deprecation
- Don't use commands from the access language without a repository (see: access language).
- Don't use node/myNode. Use node-ptr(myNode).resolve(repository) instead.
- Don't use model/myModel. Use model-ptr(myModel).resolve(repository) instead.
- Don't use module/myModule or language-module. Use module-reference/myModule instead.
- Don't use linkNode/concept:link/. Use link:concept:link/ instead.
- Don't use conceptNode/concept/. Use concept/concept/ instead.
- Don't use node.delete. Use node.detach instead.
- Don't use node.containingRole. Use node.getContainmentLink instead.
- Don't use interface the IDontSubstituteByDefault. Create an empty default substitute menu for the concept instead.
- Don't use print,
System.out
orSystem.err
for logging. Use log for low-level logging or message for high-level logging instead. - Use the explicit presentation of a node when using in a string e.g.
"my node: " + node.getPresentation()
instead of"my node: " + node
. - Don't use counter variable in LoopMacro. Use
LOOP index
in code instead. - Don't use IOperationContext. More info can be found in the attached comment of the interface.
- Avoid getting the repository from the currently opened project or using the global repository. The code might break in the future.
Last update:
November 15, 2021