}
performScriptOperation(node);
}
static void performScriptOperation(final NodeModel node) {
final NodeAttributeTableModel attributes = NodeAttributeTableModel.getModel(node);
if (attributes == null) {
return;
}
for (int row = 0; row < attributes.getRowCount(); ++row) {
final String attrKey = (String) attributes.getName(row);
final Object value = attributes.getValue(row);
if(value instanceof String){
final String script = (String) value;
if (attrKey.startsWith(ScriptingEngine.SCRIPT_PREFIX)) {
executeScript(node, script);
}