Context Menu for XML

When creating an extension, a context menu item can be added to a menu for a java file by using "instanceof oracle.jdeveloper.model.JavaSourceNode". Similarly, for jsp source you would use "oracle.jdeveloper.model.JspSourceNode". What do I use if I want to enable/add a context menu item to appear when an xml file is right-clicked under Miscellaneous Files?

FYI, there is a demo in the Extension SDK, which is called ClassSpy. If you right-click on a node and choose the appropriate menu item, it will display the name of the node in the log window, like oracle.bali.xml.addin.XMLSourceNode.

Similar Messages

  • Cannot see context menu for XML messages with Safari and Google Chrome

    Hi All,
    I am unable to see Context menu with the option of Create, Edit, Delete etc. for KM messages. This problem persists with Safari, Chrome and IE9 browsers. This thing works fine on IE7 and IE8 browesrs.
    On clicking  History and Options buttondoesn't perform any action i.e. we cannot see the list of options when clicking on those. This problem also persists with the above mentioned browsers.
    Also, with IE9 , I am unable to create New message when clicking on New button. The XML form doesnt open on the button click.
    The portal version I am using is EP 7.0.
    Can someone help me out with this?
    Thanks a lot in advance.
    Regards,
    Archana

    Hello Archana,
    You should check the PAM to see if your browser is supported with your current EP verison.
    http://service.sap.com/pam
    Regards,
    Lorcan.

  • Table Context Menu for Word 2010

    I want to create a context menu for Word 2010. I'm using the code below, that works fine if I'm entering text, but menu doesn't show when entering text inside a table cell.
    I tried also the following contextMenu idMso: ContextMenuTable, ContextMenuTableCell, ContextMenuTableCellWhole, and ContextMenuTableCellWholeLinked; but still doesn't work.
    What am I doing wrong? Thanks.
    XML:
    <contextMenus>
    <contextMenu idMso="ContextMenuText">
    <menuSeparator id="CMenuSeparator1" />
    button id="BtnCMenu1" label="Block Text" imageMso="TextToolMenu" visible="true" onAction="StyleBlockText" />
    </contextMenu>
    </contextMenus>
    VBA:
    Sub StyleBlockText(control As IRibbonControl)
    Selection.Style = ActiveDocument.Styles("My Style")
    End Sub

    Hi,
    This is the forum to discuss questions and feedback for Microsoft Office, you'd better post your question to the MSDN forum for Word
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=worddev&filter=alltypes&sort=lastpostdesc
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    George Zhao
    TechNet Community Support

  • In Firefox 4, how do I get back the context menu for the drop down list of the Location Bar so I can Open Link in New Tab, which I did often in FF 3?

    Firefox 3 has a context menu for the drop down list of
    the Location Bar. One option on this menu I used often
    is "Open Link in New Tab" -- quite convenient.
    This context menu has disappeared in Firefox 4.
    Can I get it back?

    See also:
    *Tools > Options > Privacy > History: "Remember search and form history"
    *https://support.mozilla.org/kb/Form+autocomplete
    The "Use custom settings for history" setting allows to see the current history and cookie settings, but selecting that setting doesn't make any changes to history and cookie settings.<br />
    Firefox shows the "Use custom settings for history" setting as an indication that at least one of the history and cookie settings is not the default to make you aware that changes were made.<br />
    If all History settings are default then the custom settings are hidden and you see "Firefox will: (Never) Remember History".<br />

  • Context menu for .exe and .lnk slow becaus of nv3dappshext.dll

    Hi
    I recently made a fresh install of Windows 7 and I'm now noticing that the context menu for .exe and .lnk files opens very slow. With the help of ShellExView it looks like it is caused by C:\Windows\system32\nv3dappshext.dll. If i disable nv3dappshext.dll the
    problem goes away. So my first try was to reinstall all Nvidia drivers but that didn't help. I'm now thinking that there is some other file that makes nv3dappshext.dll corrupt.
    Is there anyone here that might know what's wrong?
    //Simon

    Hi Simon, did you keep this disabled? Did you report to NVID.support?
    NVIDIA are as bad as Microsoft are as bad as Intel, all kinds of application errors (going for the cleanest build on the planet :) so, given that I don't
    have
    any 3D-ready devices (ergo)
    any superfluous NVIDIA programs*
    the DISPLAY DRIVER's all I need, and still I get app issues (recently, disconcertingly, the ominous,
    snail-mode 'Kernel Processing Power' event (cores are disabled because of some event/temp?)
    BSOD/Shell Crash when extending display to AOC 2036 monitor @ 1920x1080, not gaming!
    FIXED by installing NVIDIA's 'system tool' {nTune} (THANKS!!! to Haider
    Ali Khan for the tip! TdrDelay QWORD:8 failed to fix, almost bought a new AC Adapter!) 
    New nTune issues now being monitored....
    * Custom install NVIDIA, only select the driver if you're not a gamer, sterescopic not
    {yet} required if you're in 2D, Physx Engine only for Steam(online) gamers,
    HD AUDIO not required (if you've also got HD Intel doing that for ya :D
    I will fix NVIDIA's and Microsoft's mistakes :D I might even upload my (native virtualised) build when done. It's so slick, so nice to have a tool that works, and one that can keep up with your imagination!)

  • Remove Context Menu for KM Content for Anonymous User

    Hi All,
    I have implemented External Facing Portal and i have to show KM documents
    on Anonymous user home page. For This I have created JSP page and have
    created url iview for this created JSP application. On this JSP  page to access
    KM i have used below code
    <iframe src ="/irj/go/km/navigation/documents/Public%20Documents" > </iframe>
    Now i am able to see the KM Contents of Public Documents on my Anonymous
    user Home Page .But here i need  to remove the context menu for KM Content
    for Anonymous User , but the context menu should come for Logged in user.
    How to do this ??
    Regards,
    Piyush

    solved

  • How to create Context Menu for Full Screen ALV

    Dear Experts,
    Please tell me the procedure to create Context Menu for ALV Grid (full screen ALV using SLIS ).
    Regards
    Arnab

    Hi,
    Check the demo program BCALV_GRID_06

  • How to deactivate the context menu for data cells in web reports

    Hello,
    we would like to have the data cells (for example: values in euro) without context menu. I mean, right now, when users navigate in web reports and stop with a mouse over the data cell, text like "Context menu for 5.000 Highlighted" appears. Especially users don't want to see the exception cells with this information like
    "Context menu for 6.000 critical 4".
    Is it possible to deactivate this context info?
    Thanks and Regards,
    Nuran Adal
    Message was edited by: Nuran Adal

    Hello Nuran,
    I guess you want to disable the Tooltip and not the ContextMenu. Anyway, use the table interface for it.
    Have a look at paramter C_CELL_CONTENT
    In Method DATA_CELL.
    This one contains strings like:
    30,0
    Rebuild this String to:
    30,0
    Kind Regards,
    Alican

  • Context menu for toolbox shows wrong menu

    when itunes is open, right-clicking on anything in the toolbar (the stuff with the little clock) results in the context menu for the whole toolbar coming up as well as the context menu for whatever i'm clicking on. unfortunately the toolbar one comes up on top so it's super annoying. however, if i wait for the tooltip to show up before right-clicking, it only shows the correct context menu. i think this is just a bug, but does anyone know a fix?

    Hi Peter,
    If you are using Enterprise Portal to publish those reports to be viewed by the user, i think ur problem may get solved in EP itself. Contact ur EP associate and find out whether it is possible to do this or not. Hope we can do it in that. Otherwise you need to write some JAVA code in WAD which helps in not getting the display as such.
    Assign points if this helps u...
    Regards,
    Koundinya Karanam.

  • Context menu for customized selfwritten VI

    Hallo!
    Maybe someone knows and has time to share: is it possible to create a customized popup/context menu for a customized - self written VI (vide .jpg)? And as working with LV 2011 I have realised it's impossible to create a polymorphic VI out of other polymorphic vi-s right?  If anybody knew any walk through, I will be thankfull
    A.

    Dear Aleph,
    information about creating run time context menus can be found here: http://www.ni.com/white-paper/3171/en/
    Another soultion, is to create your own VI that will po up when a user uses his RMB on a specific object. This can be achieved by properly using the Event Structure. Let me know if you need more information.
    What do you mean by creating a polymorphic VI from a polymorphic VI?
    Best regards,
    Mateusz Stokłosa
    Applications Engineer
    National Instruments

  • Is there any way to edit the standard Firefox context menu for displayed Web pages?

    Is there any way to edit the standard Firefox context menu for displayed Web pages? I frequently want to save a picture appearing on a page. Sometimes I "slip" and hit "Send Image" when I want "Save Image As", and have to sit and wait for a default send-mail page to come up, then close it, fiddling with its "are you sure" dialogs. This is a painful way to handle a slip-up. I basically NEVER want to e-mail an element directly from a page. Is there any way I can just delete "Send Image" from the context menu?

    You can remove entries in the context menu with code in the userChrome.css file
    *http://kb.mozillazine.org/userChrome.css
    Some IDs are listed in this MozillaZine Knowledge Base article:
    *http://kb.mozillazine.org/Chrome_element_names_and_IDs
    To find the ID of others you will have to use the DOM Inspector.
    * https://support.mozilla.org/kb/DOM+Inspector
    * https://developer.mozilla.org/En/DOM_Inspector
    * https://developer.mozilla.org/en/Introduction_to_DOM_Inspector
    * DOM Inspector: https://addons.mozilla.org/firefox/addon/dom-inspector-6622/

  • Context menu for tree node cannot be accessed in IE 8 (Jdev 11.1.2)

    We use an af:tree with context menus for performing operations on each node. In IE 8 when you hover over a node before right clicking, "tooltip" text appears which basically just re-displays the text of the node. Even though the tooltip text is annoying, the context menu worked fine in 11.1.1.4, but now in 11.1.2 when you right-click on that tooltip text you get the "normal" browser context menu for text -- we no longer get our custom context menu.
    You can see this same problem on the tree in the rich faces demo: http://jdevadf.oracle.com/adf-richclient-demo/
    Sometimes, if you're quick enough, you can get the custom context menu to work, but it seems that once you've hovered long enough over one node to get the standard context menu, you're stuck and any node you click on will display the browser's normal context menu.
    This is a big problem for us because we rely on these context menus and most of our administrative users are on IE 8. Is there a workaround or can the tooltip text somehow be shut off? It doesn't appear in Firefox so Firefox works fine.
    Thanks.
    -Ed

    Hi,
    if this works on IE 7 you can force the app to run in IE7 compatibility mode
    See "Run ADF Faces applications with IE 9 in IE 8 compatibility mode" http://www.oracle.com/technetwork/developer-tools/adf/learnmore/april2011-otn-harvest-367335.pdf
    Works the same for IE8 to IE7. This then gives you a solution for until the issue is solved
    Btw.: If users click onto the folder icon (not the text, which brings up the tool tip) then the context menu work. I'll file a bug anyway
    Frank

  • How to run report from context menu using XML Extensions?

    I have found an example how to run SQL command from context menu:
    <items>
    <folder type="TABLE">
    <name>UserDefined ContextMenus</name>
    <item TYPE="TABLE" reloadparent="true">
    <title>Create SYNONYM</title>
    <prompt type="check">
    <label>PUBLIC</label>
    <value>PUBLIC</value>
    </prompt>
    <prompt>
    <label>NEW SYNONYM NAME</label>
    </prompt>
    <sql>
    <![CDATA[CREATE #0# SYNONYM  #1# for "#OBJECT_OWNER#"."#OBJECT_NAME#"]]>
    </sql>
    <help>
    This action create a SYNONYM (optionally public) for the selected table.</help>
    <confirmation>
    <title>Confirmation</title>
    <prompt>SYNONYM "#1#" for "#OBJECT_NAME#" has been created.</prompt>
    </confirmation>
    </item>
    </folder>
    </items>
    </prompt>
    But instead of executing SQL command I need to show result page of report based on SELECT statement.

    Hi dz_r-
    Not sure exactly what you mean by "result page of report", but extensive documentation on the xml schema defining context menu actions is available at the schema location.
    &lt;items xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://xmlns.oracle.com/sqldeveloper/3_1/dialogs"
      xmlns="http://xmlns.oracle.com/sqldeveloper/3_1/dialogs">
        &lt;!-- your declarations here -->
    &lt;/items>
    Brian Jeffries
    SQL Developer Team

  • Context menu with XML data

    Hello,
    I'm trying to create a context menu where you right click
    over a flash object and it will display links to external websites.
    The catch is I need to have the links stored in a XML doc for easy
    access. For some reason flash will only read the bottom url
    regardless of how many items are in the xml doc.
    Any ideas?
    contextmenu.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <menu>
    <item name1="Go to Google.com"/>
    <item link1="
    http://www.google.com"/>
    <item name2="Go to hotmail.com"/>
    <item link2="
    http://www.hotmail.com"/>
    </menu>
    AS/
    var contextXML = new XML();
    contextXML.ignoreWhite = true;
    contextXML.onLoad = buildContextMenu;
    contextXML.load("contextmenu.xml");
    function buildContextMenu()
    var theMenu:ContextMenu = new ContextMenu();
    var xmlLength:Object = this.firstChild.childNodes;
    for(var i=0; i<xmlLength.length;i++) {
    var ob = new Object();
    var xmlPath = this.firstChild.childNodes
    ob.name1 = xmlPath.attributes.name1;
    ob.link1 = xmlPath.attributes.link1;
    ob.name2 = xmlPath.attributes.name2;
    ob.link2 = xmlPath.attributes.link2;
    ob.item1 = new ContextMenuItem(ob.name1, itemHandler, false,
    true, true);
    ob.item2 = new ContextMenuItem(ob.name2, itemHandler, false,
    true, true);
    ob.item1.onSelect = function(){
    getURL(ob.link1, "_blank");
    ob.item2.onSelect = function(){
    getURL(ob.link2, "_blank");
    theMenu.customItems.push(ob.item1, ob.item2);
    theMenu.hideBuiltInItems();
    _root.menu = theMenu;

    I don't think it is possible for custom menu items.
    Cheers
    --Vikas

  • Is it possible to add a button to the right-click context menu for a user in Outlook 2010 using VBA?

    I've tried many things and read up quite a bit but I cannot figure this out.
    I cannot create an add-in so I have to use VBA.
    I want to add a a button to the right-click context menu when I right-click on a user. Is this possible?

    Hello,
    Yes, it is possible to customize the context menu in Outlook. See
    Customizing Context Menus in Office 2010 for more information.
    But VBA doesn't allow to customize the Fluent UI in Outlook, you need to develop an add-in instead.

Maybe you are looking for

  • Multiple inheritance in tagging interface? Is it possible?

    I saw a code somewhere that goes like this: public interface Node extends Serializable, Clonable ...Is it possible? I know that Java doesn't allow multiple inheritance and that Serializable and Clonable are tagging interfaces where no method must be

  • Some lines are not scaled right when resizing

    Hello people, I recently have made a drawing in Illustrator CS5 of a certain vehicle. This size of the drawing is 2600 x 2583,5 px in a resolution of 72ppi for use on the web. Now I want to use this drawing on a website but therefor it needs to be re

  • HOw ASM 11g strips data?

    Hi, Suppose i have diskgroup with 50 disks having Coarse Stripping when a process try to write data into this group how ASM will strips its data?. what anatolmy will asm follow to strip data? it will write on all disk at time? or just first 4 disk wi

  • Process for deploying different from redeploying?

    In the OC4J "Containers for J2EE" manual, in chapter 3, section "What Happens when you Deploy?", there is a "Note" that mentions if you deploy an EAR that is already deployed, then: "the new deployment renames the EAR file prepended with an underscor

  • Please Please - I need help from a Verizon Employee

      My Verizon home telephone {edited for privacy} number and its messaging service were erroneously disconnected and the number was apparently taken over by another phone carrier (AT & T) on 6/28/2015. Through numerous calls to Verizon, the problem wa