|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.2) E22562-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.dt.menu.MainMenuController
public class MainMenuController
Controller for "Create Applications Menu".
Field Summary | |
---|---|
static int |
MENU_CMD_ID
The Id for the setid command. |
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 | |
---|---|
MainMenuController()
|
Method Summary | |
---|---|
static void |
extractAndAddRootMenu(Project project,
java.net.URL tfURL,
java.net.URL menuFileUrl,
java.lang.String pageNameWithPath)
Create the menu artifacts, including viewId in taskflow, managed bean and menu file. |
static oracle.adfdt.controller.adfc.source.navigator.AdfcConfigNode |
getDefaultAdfcNode()
The the default unbound task flow (adfc-config.xml file) for the active project. |
static java.lang.String |
getDefaultMenuFileName(java.lang.String jspxPage)
|
static java.lang.String |
getPageNameWithPath(Context context,
java.net.URL jspxPage)
|
boolean |
handleEvent(IdeAction action,
Context context)
This method handles the event. |
static boolean |
hasView(oracle.adfdtinternal.controller.adfmenu.model.ConfigProxy adfcConfigProxy,
java.lang.String pageName)
|
boolean |
update(IdeAction action,
Context context)
The update method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MENU_CMD_ID
Constructor Detail |
---|
public MainMenuController()
Method Detail |
---|
public boolean handleEvent(IdeAction action, Context context)
handleEvent
in interface Controller
action
- The action object.context
- The context object.
public static java.lang.String getPageNameWithPath(Context context, java.net.URL jspxPage)
public static java.lang.String getDefaultMenuFileName(java.lang.String jspxPage)
public static void extractAndAddRootMenu(Project project, java.net.URL tfURL, java.net.URL menuFileUrl, java.lang.String pageNameWithPath)
project
- current project.tfURL
- url of unbound task flow to use.menuFileUrl
- url to new menu file - file:/some/dir/ViewController/public_html/menus/dir/Page_taskmenu.xmlpageNameWithPath
- name of jspx page for menu - /dir/Page.jspxpublic static boolean hasView(oracle.adfdtinternal.controller.adfmenu.model.ConfigProxy adfcConfigProxy, java.lang.String pageName)
public static oracle.adfdt.controller.adfc.source.navigator.AdfcConfigNode getDefaultAdfcNode()
public boolean update(IdeAction action, Context context)
update
in interface Controller
action
- The action to be enabled/disabled.context
- The context object.
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.2) E22562-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |