String runtimeFolderID = runtimeData.getParameter("folderID");
if (runtimeFolderID != null) {
context.setFolderID(runtimeFolderID);
}
} else if (action.equals("move")) {
IPrivilegedChannel mts = new GMoveToState(context);
mts.setRuntimeData(rd);
context.setState(mts);
} else if (action.equals("reorder"))
prepareReorder();
else if (action.equals("saveChanges")) {
prepareSaveChanges();
} else if (action.equals("editElement")) {
IPrivilegedChannel eli = new GEditLayoutItemState(context);
eli.setRuntimeData(rd);
context.setState(eli);
}
}
}