Oracle Fusion Middleware extensions for XML based Datamodel Framework
11g Release 1 (11.1.1.5)

E22566-01

oracle.apps.fnd.applxdf.comp.ui
Class XDFComparisonController

java.lang.Object
  extended by oracle.apps.fnd.applxdf.comp.ui.XDFComparisonController
All Implemented Interfaces:
ContextMenuListener, Controller

public final class XDFComparisonController
extends java.lang.Object
implements Controller, ContextMenuListener

This class add "Compare XDF" item to context menus and launch the XDF Comparison Wizard to run the XDF Comparison.

Author:
izhang <irene.zhang@oracle.com>

Field Summary
 
Fields inherited from interface oracle.ide.controller.Controller
UPDATE_FROM_ACTION_PERFORMED, UPDATE_FROM_ACTIVE_VIEW_CHANGED, UPDATE_FROM_UNDO, UPDATE_FROM_USER_EXTENSION, UPDATE_FROM_VIEW_SELECTION_CHANGED
 
Constructor Summary
XDFComparisonController()
           
 
Method Summary
 boolean handleDefaultAction(Context context)
          Event handler for default actions.
 boolean handleEvent(IdeAction action, Context c)
          Controller event handler to handle commonds.
 void menuWillHide(ContextMenu contextMenu)
          Event handler for menu hiding.
 void menuWillShow(ContextMenu contextMenu)
          Event handler for click on menu item.
 boolean update(IdeAction action, Context context)
          Update from main
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XDFComparisonController

public XDFComparisonController()
Method Detail

handleEvent

public boolean handleEvent(IdeAction action,
                           Context c)
Controller event handler to handle commonds.

Specified by:
handleEvent in interface Controller
Parameters:
action -
c -
Returns:
boolean

update

public boolean update(IdeAction action,
                      Context context)
Update from main

Specified by:
update in interface Controller
Parameters:
action -
context -
Returns:
boolean

menuWillShow

public void menuWillShow(ContextMenu contextMenu)
Event handler for click on menu item.

Specified by:
menuWillShow in interface ContextMenuListener
Parameters:
contextMenu -

menuWillHide

public void menuWillHide(ContextMenu contextMenu)
Event handler for menu hiding.

Specified by:
menuWillHide in interface ContextMenuListener
Parameters:
contextMenu -

handleDefaultAction

public boolean handleDefaultAction(Context context)
Event handler for default actions. ex. double click.

Specified by:
handleDefaultAction in interface ContextMenuListener
Parameters:
context -
Returns:
boolean

Oracle Fusion Middleware extensions for XML based Datamodel Framework
11g Release 1 (11.1.1.5)

E22566-01

Copyright © 2011 Oracle. All Rights Reserved.