int targetY = ((ParameterHolder)qq_currentEvent.getParameter("targetY")).getInt();
JComponent targetField = (JComponent)((ParameterHolder)qq_currentEvent.getParameter("targetField")).getObject();
int dropX = ((ParameterHolder)qq_currentEvent.getParameter("dropX")).getInt();
int dropY = ((ParameterHolder)qq_currentEvent.getParameter("dropY")).getInt();
JComponent dropField = (JComponent)((ParameterHolder)qq_currentEvent.getParameter("dropField")).getObject();
Object sourceData = (Object)((ParameterHolder)qq_currentEvent.getParameter("sourceData")).getObject();
int sourceDataType = ((ParameterHolder)qq_currentEvent.getParameter("sourceDataType")).getInt();
Logger.getLogger("task.part.logmgr").info("===ObjectDrop===");
Logger.getLogger("task.part.logmgr").info( Integer.toString(sourceX));
Logger.getLogger("task.part.logmgr").info( Integer.toString(sourceY));
Logger.getLogger("task.part.logmgr").info(Name.get(sourceField));
Logger.getLogger("task.part.logmgr").info( Integer.toString(targetX));
Logger.getLogger("task.part.logmgr").info( Integer.toString(targetY));
Logger.getLogger("task.part.logmgr").info(Name.get(targetField));
Logger.getLogger("task.part.logmgr").info( Integer.toString(dropX));
Logger.getLogger("task.part.logmgr").info( Integer.toString(dropY));
Logger.getLogger("task.part.logmgr").info(Name.get(dropField));
//task.lgr.putline(sourceData);
switch (sourceDataType) {
case Constants.SD_NODE: {
Logger.getLogger("task.part.logmgr").info("SD_NODE");
break;
}
case Constants.SD_IMAGE: {
Logger.getLogger("task.part.logmgr").info("SD_IMAGE");
break;
}
default: {
Logger.getLogger("task.part.logmgr").info("SD_FIELDWIDGET");
break;
}
}
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -----------------
// <Target>.FileDrop
// -----------------
else if (qq_currentEvent.isEvent(PushButton_FileDrop_getqq_Target)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
Array_Of_File<File> files = (Array_Of_File<File>)((ParameterHolder)qq_currentEvent.getParameter("files")).getObject();
int targetX = ((ParameterHolder)qq_currentEvent.getParameter("targetX")).getInt();
int targetY = ((ParameterHolder)qq_currentEvent.getParameter("targetY")).getInt();
JComponent targetField = (JComponent)((ParameterHolder)qq_currentEvent.getParameter("targetField")).getObject();
int dropX = ((ParameterHolder)qq_currentEvent.getParameter("dropX")).getInt();
int dropY = ((ParameterHolder)qq_currentEvent.getParameter("dropY")).getInt();
JComponent dropField = (JComponent)((ParameterHolder)qq_currentEvent.getParameter("dropField")).getObject();
Logger.getLogger("task.part.logmgr").info("===FileDrop===");
if (files != null) {
for (File f : files) {
Logger.getLogger("task.part.logmgr").info(f.getLocalName());
}
}
Logger.getLogger("task.part.logmgr").info( Integer.toString(targetX));
Logger.getLogger("task.part.logmgr").info( Integer.toString(targetY));
Logger.getLogger("task.part.logmgr").info(Name.get(targetField));
Logger.getLogger("task.part.logmgr").info( Integer.toString(dropX));
Logger.getLogger("task.part.logmgr").info( Integer.toString(dropY));
Logger.getLogger("task.part.logmgr").info(Name.get(dropField));
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -----------------------
// <aListView2>.ObjectDrop
// -----------------------
else if (qq_currentEvent.isEvent(ListView_ObjectDrop_getqq_aListView2)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
int sourceX = ((ParameterHolder)qq_currentEvent.getParameter("sourceX")).getInt();
int sourceY = ((ParameterHolder)qq_currentEvent.getParameter("sourceY")).getInt();
JComponent sourceField = (JComponent)((ParameterHolder)qq_currentEvent.getParameter("sourceField")).getObject();
int targetX = ((ParameterHolder)qq_currentEvent.getParameter("targetX")).getInt();
int targetY = ((ParameterHolder)qq_currentEvent.getParameter("targetY")).getInt();
JComponent targetField = (JComponent)((ParameterHolder)qq_currentEvent.getParameter("targetField")).getObject();
int dropX = ((ParameterHolder)qq_currentEvent.getParameter("dropX")).getInt();
int dropY = ((ParameterHolder)qq_currentEvent.getParameter("dropY")).getInt();
JComponent dropField = (JComponent)((ParameterHolder)qq_currentEvent.getParameter("dropField")).getObject();
Object sourceData = (Object)((ParameterHolder)qq_currentEvent.getParameter("sourceData")).getObject();
int sourceDataType = ((ParameterHolder)qq_currentEvent.getParameter("sourceDataType")).getInt();
((DisplayNode)sourceData).setParent(this.getAListView2());
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ------------------
// <aListView2>.Click
// ------------------
else if (qq_currentEvent.isEvent(ListView_Click_getqq_aListView2)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
DisplayNode n = (DisplayNode)((ParameterHolder)qq_currentEvent.getParameter("node")).getObject();
Logger.getLogger("task.part.logmgr").info("-= aListView2 Click =-");
Logger.getLogger("task.part.logmgr").info(n.getDVNodeText());
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ------------------------
// <aListView2>.DoubleClick
// ------------------------
else if (qq_currentEvent.isEvent(ListView_DoubleClick_getqq_aListView2)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
DisplayNode n = (DisplayNode)((ParameterHolder)qq_currentEvent.getParameter("node")).getObject();
Logger.getLogger("task.part.logmgr").info("-= aListView2 DoubleClick =-");
Logger.getLogger("task.part.logmgr").info(n.getDVNodeText());
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ----------------------
// <aListView>.ObjectDrop
// ----------------------
else if (qq_currentEvent.isEvent(ListView_ObjectDrop_getqq_aListView)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
int sourceX = ((ParameterHolder)qq_currentEvent.getParameter("sourceX")).getInt();
int sourceY = ((ParameterHolder)qq_currentEvent.getParameter("sourceY")).getInt();
JComponent sourceField = (JComponent)((ParameterHolder)qq_currentEvent.getParameter("sourceField")).getObject();
int targetX = ((ParameterHolder)qq_currentEvent.getParameter("targetX")).getInt();
int targetY = ((ParameterHolder)qq_currentEvent.getParameter("targetY")).getInt();
JComponent targetField = (JComponent)((ParameterHolder)qq_currentEvent.getParameter("targetField")).getObject();
int dropX = ((ParameterHolder)qq_currentEvent.getParameter("dropX")).getInt();
int dropY = ((ParameterHolder)qq_currentEvent.getParameter("dropY")).getInt();
JComponent dropField = (JComponent)((ParameterHolder)qq_currentEvent.getParameter("dropField")).getObject();
Object sourceData = (Object)((ParameterHolder)qq_currentEvent.getParameter("sourceData")).getObject();
int sourceDataType = ((ParameterHolder)qq_currentEvent.getParameter("sourceDataType")).getInt();
((DisplayNode)sourceData).setParent(this.getAListView());
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -----------------
// <aListView>.Click
// -----------------
else if (qq_currentEvent.isEvent(ListView_Click_getqq_aListView)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
DisplayNode n = (DisplayNode)((ParameterHolder)qq_currentEvent.getParameter("node")).getObject();
Logger.getLogger("task.part.logmgr").info("-= aListView Click =-");
Logger.getLogger("task.part.logmgr").info(n.getDVNodeText());
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// -----------------------
// <aListView>.DoubleClick
// -----------------------
else if (qq_currentEvent.isEvent(ListView_DoubleClick_getqq_aListView)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
DisplayNode n = (DisplayNode)((ParameterHolder)qq_currentEvent.getParameter("node")).getObject();
Logger.getLogger("task.part.logmgr").info("-= aListView DoubleClick =-");
Logger.getLogger("task.part.logmgr").info(n.getDVNodeText());
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ---------------------
// <aOutline>.ObjectDrop
// ---------------------
else if (qq_currentEvent.isEvent(OutlineField_ObjectDrop_getqq_aOutline)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
int sourceX = ((ParameterHolder)qq_currentEvent.getParameter("sourceX")).getInt();
int sourceY = ((ParameterHolder)qq_currentEvent.getParameter("sourceY")).getInt();
JComponent sourceField = (JComponent)((ParameterHolder)qq_currentEvent.getParameter("sourceField")).getObject();
int targetX = ((ParameterHolder)qq_currentEvent.getParameter("targetX")).getInt();
int targetY = ((ParameterHolder)qq_currentEvent.getParameter("targetY")).getInt();
JComponent targetField = (JComponent)((ParameterHolder)qq_currentEvent.getParameter("targetField")).getObject();
int dropX = ((ParameterHolder)qq_currentEvent.getParameter("dropX")).getInt();
int dropY = ((ParameterHolder)qq_currentEvent.getParameter("dropY")).getInt();
JComponent dropField = (JComponent)((ParameterHolder)qq_currentEvent.getParameter("dropField")).getObject();
Object sourceData = (Object)((ParameterHolder)qq_currentEvent.getParameter("sourceData")).getObject();
int sourceDataType = ((ParameterHolder)qq_currentEvent.getParameter("sourceDataType")).getInt();
((DisplayNode)sourceData).setParent(this.getAOutline());
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ----------------
// <aOutline>.Click
// ----------------
else if (qq_currentEvent.isEvent(OutlineField_Click_getqq_aOutline)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
DisplayNode n = (DisplayNode)((ParameterHolder)qq_currentEvent.getParameter("node")).getObject();
Logger.getLogger("task.part.logmgr").info("-= aOutline Click =-");
Logger.getLogger("task.part.logmgr").info(n.getDVNodeText());
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ----------------------
// <aOutline>.DoubleClick
// ----------------------
else if (qq_currentEvent.isEvent(OutlineField_DoubleClick_getqq_aOutline)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
DisplayNode n = (DisplayNode)((ParameterHolder)qq_currentEvent.getParameter("node")).getObject();
Logger.getLogger("task.part.logmgr").info("-= aListView2 aOutline =-");
Logger.getLogger("task.part.logmgr").info(n.getDVNodeText());
// ================ End Forte Event Handler Translation ================
}
finally {
CursorMgr.endEvent();
}
}
// ------------------
// <aTree>.ObjectDrop
// ------------------
else if (qq_currentEvent.isEvent(TreeView_ObjectDrop_getqq_aTree)) {
try {
CursorMgr.startEvent();
// ================ Begin Forte Event Handler Translation ================
int sourceX = ((ParameterHolder)qq_currentEvent.getParameter("sourceX")).getInt();
int sourceY = ((ParameterHolder)qq_currentEvent.getParameter("sourceY")).getInt();
JComponent sourceField = (JComponent)((ParameterHolder)qq_currentEvent.getParameter("sourceField")).getObject();
int targetX = ((ParameterHolder)qq_currentEvent.getParameter("targetX")).getInt();
int targetY = ((ParameterHolder)qq_currentEvent.getParameter("targetY")).getInt();
JComponent targetField = (JComponent)((ParameterHolder)qq_currentEvent.getParameter("targetField")).getObject();
int dropX = ((ParameterHolder)qq_currentEvent.getParameter("dropX")).getInt();
int dropY = ((ParameterHolder)qq_currentEvent.getParameter("dropY")).getInt();
JComponent dropField = (JComponent)((ParameterHolder)qq_currentEvent.getParameter("dropField")).getObject();
Object sourceData = (Object)((ParameterHolder)qq_currentEvent.getParameter("sourceData")).getObject();
int sourceDataType = ((ParameterHolder)qq_currentEvent.getParameter("sourceDataType")).getInt();
((DisplayNode)sourceData).setParent(this.getATree());
// ================ End Forte Event Handler Translation ================
}
finally {