// Obtain the underlying process element (usually a ModelObject)
Object pe = ((ProcessElementContainer) figure).getReferredProcessElement();
transferables = new Transferable[]
{
new BasicTransferable(pe), new BasicTransferable(figure)
};
}
else
{
// Broadcast a popup interaction event to construct the popup menu
transferables = new Transferable[]
{
new BasicTransferable(figure)
};
}
}
if (transferables != null)