I am using Mdirtyable in my code. I want that when user chose a different radiobutton, the part will be dirty(*). There is a group of radiobutton on a part in my design. One of the radiobutton is default selected. The problem is that when the code runned, the part open as dirty. But I want that the part open as undirty and if the user chose a different radiobutton, the part will be dirty.
I'm using selectionListener for this. My example code part is below:
radioButton.addSelectionListener(new SelectionAdapter()
{
public void widgetSelected(SelectionEvent e)
{
mdirtyable.setDirty(true);
}
}
Thank you,