LayoutSchemaType.LAYOUT.getName(),
LayoutSchemaType.CANVAS_LAYOUT.getName(),
LayoutSchemaType.MONTAGE_LAYOUT.getName()
});
final ArrayBasedActionDetails actionDetails =
new ArrayBasedActionDetails();
// Set up a listener that will update the action's enablement
// status, using the {@link ODOMActionCommand#enable} method return
// value, storing the selection in the actionDetails
ODOMElementSelectionListener dndListener =
new ODOMElementSelectionListener() {
public void selectionChanged(ODOMElementSelectionEvent event) {
actionDetails.setElements(event.getSelection().
toODOMElementArray());
}
};
odomEditorContext.getODOMSelectionManager().