Open remiohead opened 12 years ago
Removing a task from a ribbon does not null the ribbon reference in the task. If you try to add the task to the original ribbon or a different one an exception is thrown:
java.lang.IllegalStateException: The task already belongs to another ribbon
Since the setRibbon() method in RibbonTask is package protected the problem can not easily be worked around.
Removing a task from a ribbon does not null the ribbon reference in the task. If you try to add the task to the original ribbon or a different one an exception is thrown:
java.lang.IllegalStateException: The task already belongs to another ribbon