// Tracker tracker = new Tracker(_drawArea, SWT.RESIZE);
@Override
public void mouseDoubleClick(MouseEvent e)
{
AttrImage ai = (AttrImage) _data;
// Set initial values (directory)
if (_fd == null)
{
_fd = new FileDialog(_wid.getShell());
}
if (ai == null)
{
_data = ai = new AttrImage();
ai.setChecker(_al.getAttr().getChecker());
}
String fullname = ai.getAbsolutePath();
if (fullname != null)
{
_fd.setFileName(fullname);
}
fullname = _fd.open();
if (fullname != null)
{
// Find & Use correct DataPath
DataPath rDp = Application.getDataStore().findDataPath(fullname);
ai.setDataPath(rDp);
if (rDp != null)
{
fullname = fullname.substring(rDp.getPath().length());
}
ai.setValue(fullname);
if (ai.getStatus() == StatusCycle.UNCHANGED)
{
ai.setStatus(StatusCycle.MODIFIED);
}
_edPart.setDirty(true);
}
else