SetName in @Datatype

From AIBenchWiki

Jump to: navigation, search

Problem

The @Datatype annotation has a namingMethod field to allow a customizable way to set the name of the clipboard elements. A problem arises when the user changes a clipboard item through the built-in rename functionality (via F2, or clic), because the user object isn't notified of this change and further inconsistences may occur.

Possible Solution

Add a changeNameMethod field the annotation @Datatype. The method should have a String as parameter and will be called everytime the user changes the name via the built-in functionality.

Resolved

See Set Name in @Datatypes

Personal tools
Documentation