No way to add code snippets to the palette in 11g

Hello,
According to the Help Center, I should be able to add "codes snippets" to my palette, like I used in 10g...
Adding a Code Snippet to the Palette
You can add pages to the Component Palette to group your snippets, or you can add snippets to the existing Code Snippets page. Once you add snippets to the Palette, you can insert this code into any file you have open in the source editor by selecting the snippet from the Palette
within the Configure Component Palette dialog. In the Configure Component Palette dialog, for Page Type select snippet to view only those pages containing snippets.
Well , in the Page Type drop list , I only see "java" and "use case" ?
I am running J2EE Edition Version 11.1.1.0.1 Build JDEVADF_MAIN.BOXER_GENERIC_081203.1854.5188
Any thoughts ?
Cheers

If all you want is code snippet why not use the code template feature?
It is more dynamic and will allow you to use variables that you can switch - then you can just use the keyboard to get the value.
See:
http://www.oracle.com/technology/obe/obe11jdev/11/ide/introjdevide.htm#t4s1
http://adfjsf.blogspot.com/2009/09/creating-code-templates-in-jdeveloper.html

Similar Messages

  • Is there a way to remove a code snippet  from the library of my snippets in Edge Animate CC2014?

    Is there a way to remove a code snippet  from the library of my snippets in Edge Animate CC2014?

    When you click on "My Snippets", it will list down all saved user snippets, which you can right-click and click on "delete" to delete it.

  • Add code snippets iBooks author

    How can I add code snippets to an iBooks author project?
    Is there a way to format a piece of text so that it would recognize Objective-C language?
    Or is there a way to insert a code snippet in some sort of box that will make it stand out from the rest of the text?

    ...is there a way to insert a code snippet in some sort of box that will make it stand out from the rest of the text?
    Have you tested the new pop-up widget?

  • Is there a way to add roman numerals to the footer? (eg. page i of n)

    Is there a way to add roman numerals to the footer? (eg. page i of n)

    Hi Emily ,
    You may face challenges doing this task in Acrobat .
    If you have created the PDF from word ,I would recommend doing the page numbering in Word, not Acrobat, since you have more flexibility with that program.
    Or the second option is ,if you know how to play around with java script.Here is the code for the same.
    Yeah, it's possible. Create a unique text field on each page with this code as the custom calculation code:
    event.value = romanize(event.target.page+1);
    Then place this function at the doc-level (I didn't write that one):
    function romanize(num) {
        if (!+num)
            return false;
        var digits = String(+num).split(""),
            key = ["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM",
                   "","X","XX","XXX","XL","L","LX","LXX","LXXX","XC",
                   "","I","II","III","IV","V","VI","VII","VIII","IX"],
            roman = "",
            i = 3;
        while (i--)
            roman = (key[+digits.pop() + (i * 10)] || "") + roman;
        return Array(+digits.join("") + 1).join("M") + roman;
    Regards
    Sukrit Dhingra

  • Is there a way to add two windows in the same window?

    is there a way to add two windows in the same window?

    what do you mean by your first use of the word "window"? do you mean a visible frame? a section of the gui that the user doesnt see?
    or perhaps you mean you want to add multiple tabs to a single window, so that switching between tabs shows different windows?

  • Is there a way to add/delete words from the predictive text ?

    Is there a way to add/delete words from the predictive text options that my iPhone is giving me? I'm using an iPhone 6 Plus with iOS 8.
    There are specific words that are popping up in the area right above the keyboard where it displays 3 word suggestions to choose from. This area seems to suggest words that I have typed before, I'd like to remove these words. Default seems to select the word in the center and when I'm typing fast on occasion it will recommend and select words that I don't need to use.
    Any help would be appreciated.

    999753 wrote:
    I know in 10g delete is added but in 9i i can only work with UPSERT( update, insert)
    is there a way to add delete into 9i MERGE? or somehow encapsulate it?
    Thank youI would suggest upgrading to a supported version of the database. 9i has been unsupported for many many years now.
    And to answer your question... to the best of my knowledge, there is no workaround. It works as it works.

  • Importing a lot of video clips from a Sony camera to FCE; during the Log and Transfer process, is there a way to add multiple clips to the browser instead of one at a time?

    Importing a lot of video clips from a Sony camera to FCE; during the Log and Transfer process, is there a way to add multiple clips to the browser instead of one at a time?

    Select one and click cmd-A which selects them all.
    Then click the import button if it hasn't started already.

  • What is the proper way to add 16GB ram to the existing 8GB in my 27" Retina iMac?

    I've searched the web for the best answer to this question: What's the best way to add 16GB ram to the existing 8GB in my late 2014 Retina iMac (ending up with a total of 24GB ram)?
    I'm seeing conflicting and ultimately confusing advice. Most people are saying to just pop in the new 16GB (2X8GB) into the 2 open slots and you're done. Others are saying no, remove the 2 4GB sticks, replace those now empty slots with the 2 new 8GB sticks, and put the 4GB sticks in the remaining 2 slots, which viewed from the bottom would be 8,4,8,4.
    A third option (to make things even more confusing) seems to be keeping the 2X4GB and 2X8GB sticks together, side by side, so that viewed from the bottom you'll see 8,8,4,4 or 4,4,8,8.
    I have no idea which configuration is best: They all seem to "work" according to those advocating their method. I want to know what Apple recommends, if they indeed have a preferred method.

    Crucial. 16GB 2X8 204P SODIMM PC3-12800 MAC to be specific.
    The OEM RAM is in slots 2 + 4 from the top, at least in mine. BANK 0/DIMM0 and BANK 1/DIMM0.
    A little background: I installed new RAM in the slots last week when my new iMac arrived, in the open slots, 1 + 3 from the top. I then started up for the first time and installed my account from Time Machine. So far, so good. About 2 hours into my first day usage I started getting random crashes. By day 2 I'd had maybe 15 crashes and a dozen kernel panics. I removed the RAM and re-seated it. Same problem. I created a new user account, thinking maybe I had some corrupt data. Ran fine for a couple of hours then BOOM same problem, again. Removed the new RAM and presto, no more crashes, going on 4 days now. I returned the RAM to the vender, requesting a replacement in the hopes that I just had a bad stick (even though I ran TechTool 7 and found no problems... which struck me as weird).
    So now I'm a little bit concerned about using the best, most Apple-approved method for installing the replacement RAM when it arrives. I'm not exactly a newbie. I've read things in the past about it being important to install RAM in a specific order, but it's been a while since I've had a new Mac, and things change. I want to be careful, but it sounds like it doesn't matter a whole lot. My fingers are crossed, not that I'm superstitious.

  • Is there a way to add code in SAPLV70A (before going to RSNAST00)?

    Hello,
    SAP 6.0:
    I am looking for a way to insert code after processing an output type (before going to RSNAST00).
    Has somebody an idea?
    Thanks a lot!
    Guido
    Edited by: G. Verbruggen on Mar 12, 2009 5:27 PM

    Hi Navneet,
    I have already looked for enhancement points but they don't exist in SAPLV70A.
    At least not that I can see them.
    I am relatively new to enhancement points.
    (we have both a 4.6 and 6.0 environment)
    Can you simply get an overview of the existing enhancement points?
    Can you add enhancement points if they don't exist in the part that you want?
    Thanks,
    Guido

  • Is there a way to add multiple outlines on the same layer?

    Hi there! I'm trying to add an outline to text or objects through the style fx, then I want to add more outlines. It would be nice if you could just add a new stroke like in illustrator. I don't want copy the layer and just do a thicker outline behind it, the point is to have it all on the same layer .. just wondering if thats possible. Thanks!

    You have been given two approaches which may meet your needs. There is another way that offers independent control of the styles, but you do use multiple layers.
    Assume you have a path that defines your object and lets say you want to apply three different styles and have independent and ongoing control over each. Create a new blank layer for each style. On each of those layers apply a brush stroke to the path, say a 1 pixel stroke whose color is also the background color as an example. Now on each of those layers apply your chosen layer styles. That is what I have done in this example:
    Paulo

  • Is there any way to add a password to the guest account?

    We use a computer reservation system for public computers in my library.  I would love to have the functionality of the guest account so the account is wiped after every log out. 
    The problem with our reservation system is, it requires an account with a password for the system to work properly.  So for the past year, I have been running a standard user account with 3rd party software to lock out the ability to permently change anything on the system.  The problem with this is, it retains any changes users make until the system is restarted, not logged out.  So by the end of a 12 hour day the machine can be pretty screwed up if it hasn't been restarted at some point.
    The Guest Account is exactly what I want, but if I can't find a way to add a password to it there is no way for my reservation system to use it.

    You could write a shell script to do that and run it on logout via a logout hook:
    http://seeskill.wordpress.com/2012/02/23/mac-os-x-login-and-logout-scripts-demys tified/
    https://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPSyste mStartup/Chapters/CustomLogin.html#//apple_ref/doc/uid/10000172i-SW10-BAJCGEGG
    I can't be of much help writing such a script. Apple also cautions against such scripts since due to the fact that they run as root they're a security risk. Apple recommends using launchd, something which I have no experience with, but I found a presentation on the basics here that might help:
    http://www.macos.utah.edu/documentation/operating_systems/launchd.html
    I don't know of any other way to remove user documents and settings automatically on logout.
    Regards.

  • Is there any way to add sub-mailboxes to the Inbox in Mac Mail 4.5?

    So, back when I was using Mail 3.0, I was able to create new mailboxes/folders within the INBOX of a specific account.  When I upgraded my machine, Mail changed to "Locations" with the generic locations "MAILBOXES", and "ON MY MAC", "REMINDERS" as well as locations for any account, say "IMAP" and "EXCHANGE".  Currently, I can add a new mailbox, but my only options are to add to "ON MY MAC" (and any subfolders within), "IMAP", and "EXCHANGE".  The option of adding mailboxes to anything under the "MAILBOX" tab is not an option.
    What I'm wondering is if there is a way to add mailboxes to accounts and have it show up under the MAILBOXES location, rather than under the specific mail account location, as each mail account, ("IMAP", "EXCHANGE") also holds additional folders for Trash, Sent, Drafts, etc.  I have about two to three folders per account that I would like to keep stored on the server, and when Mail is handling multiple accounts, using the "locations" for each account takes up a surprising amount of space.
    I know that there is a way to get sub-mailboxes for each account in the MAILBOXES location (as I currently have several in an IMAP account), but these were all carried over from Mail 3.0 and any additional mailboxes are delegated to the location "IMAP" rather than MAILBOXES/IMAP/sub-mailbox.
    Basically, I'm wondering if I can create mailboxes like this: MAILBOXES/Account/Mailbox rather than ACCOUNT/mailbox
    *I realize I asked the question several times, but hopefully the additional wording helps to solve the issue.

    There is no way to add anything to the face of a photo in iPhoto at all You will need an extenral editror for that kind of work. You can add text and arrows etc with Preview, already on your Mac or with apps like these:
    Seashore (free)
    The Gimp (free)
    Graphic Coverter ($45 approx)
    Acorn ($50 approx)
    Pixelmator ($50 approx)
    Photoshop Elements ($75 approx)
    There are many, many other options. Search on MacUpdate or the App Store.
    You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.

  • Is there a way to add line numbers in the margin?

    Is there a way to automatically add line numbers in the margin of a document?

    Hi Brian,
    If you go with Peter's suggestion, there are some details that since I've got a minute here, I'll mention...
    Set your Line Spacing for the document text to "Exactly" before you begin adjusting your table, otherwise you will have registration problems.
    Your Table will have to be a Floating object. Otherwise you won't be able to slide it into the margin. And, speaking of the margin, stay out of the gray area with the numbers if you want to print them. The gray border around your document is the area that the printer driver says is non-printable.
    In the Table Inspector, set Columns to 1 and Rows to 20 or whatever you prefer for your document. Set the number of Header Rows to 0.
    To apply the numbering, use the Fill feature: Type 1 in the first cell, type 2 in the second cell. Select both cells. Grab the Fill Handle in the lower right corner of the selection and drag it down to add a series of numbers to the rest of the column. (Easier than typing.)
    Decide how you want to justify the numbering. The Text Inspector has both vertical and horizontal justification controls for this. Just select the entire table and make the settings.
    Set the cell height to match the text line spacing. You can get close with the table row height, and maybe closer with a minor line spacing adjustment. Don't expect perfection, but you can get pretty close.
    You probably don't want the cell borders to show, so with the entire table selected, go to the Graphic Inspector and set Stroke to None.
    Lastly, cause the table to appear on every page by doing: Format > Advanced > Move Object to Section Master.
    Regards,
    Jerry

  • Any way to write code to cache the contents of the scripts menu? (or force ScriptsMenu plugin start)

    In the scripting forum I created the thread Adding custom scripts to actions revisited - Partial workaround
    Basically, you can create actions with keyboard shortcuts to execute custom javascript/vbscript, etc. and successfully reload them after restarting Illustrator but only if the user manually navigates to File->Scripts before manually loading an actions (.aia) file
    Any script menu items added to actions will be stripped from the custom actions when Illustrator is restarted because, I believe, the script menu items are not cached and are therefore invalid when the actions are automatically reloaded.
    Obviously, I'd prefer not requiring the user to navigate to the scripts menu and replace the actions every time Illustrator is started.
    Does anyone have any ideas on a way to write code so that Illustrator caches the contents of the scripts menu? Preferably this would be before the actions are loaded so they don't get invalidated and need to be reloaded in the first place. A keyboard macro would likely execute to late to be of much help.
    If anyone knows anything about the actual mechanism of caching the scripts menu or knows of anything else relevent to this please respond.
    Thanks!
    Edit: The menu is created in the Scripts Menu plugin (ScriptsMenu.aip). Perhaps there is no "cache" of the menu and the plugin just doesn't perform the startup until you browse to the File->Scripts menu?
    AIMenuGroups.h has the global definition of the group:
    #define kScriptsMenuGroup         "ScriptsMenuGroup"

    Have you looked at stored outlines ? They are for plan stability.
    Also you may want to look little deep on where your statistics are going wrong.
    I would recommend using below hint and checking where is difference in estimated(E-Rows) and actual number(A-rows) of rows. This may point out some incorrect stats.
    e.g.
    select /*+ gather_plan_statistics */ * from dual;
    D
    X
    select * from table(dbms_xplan.display_cursor(null,null,'ALLSTATS LAST'));
    Plan hash value: 272002086
    | Id | Operation | Name | Starts | E-Rows | A-Rows | A-Time | Buffers |
    | 1 | TABLE ACCESS FULL| DUAL | 1 | 1 | 1 |00:00:00.01 | 3 |
    ------------------------------------------------------------------------------------

  • Is there a way to add duplicated groupitems to the artboard thats active?

    var y = -50; //artboard top margin to place art
    var x = 43; //artboard left margin to place art
    var actIdx = docRef.artboards.getActiveArtboardIndex();
    var actAB = docRef.artboards[actIdx];
    for (i = 0; i < iCnt; i++) {
         artType = xmlRoot.child(i).child(0).text();
         docRef.artboards.setActiveArtboardIndex (1);
         if(artType == gpRefName) { //tests xmlValue.name against groupItem.name; if match go ahead
            dupArt = gpRef.duplicate(tgLay, ElementPlacement.INSIDE);
            dupArt.top = actAB.artboardRect[1] + y;
            dupArt.left = actAB.artboardRect[0] + x;
            x+=(gpRef.width + 18);
         //check for overflow of artboard X; start new row
         if(dupArt.geometricBounds[0] >= actAB.artboardRect[2] ) { //if left edge of dupArt is overlapping right edge of artboard
            y+= -dupArt.height + -94; //-94 adds some space between the rows
            x = 43;
        //check for overflow of artboard Y; create new artboard and start at top -50 & x 43 of new artboard
         if(dupArt.geometricBounds[1] >= actAB.artboardRect[3] ) { //if top edge of dupArt is overlapping bottom edge of artboard
            newAB(); //function to create artboard and position in relation to previous
            actAB = docRef.artboards[actIdx];
            x+= -dupArt.width + -100;
            y = -50;
    Note: any variables you see not declared, are declared, I just didn't include them here to try to keep this as simple as possible.
    Basically the script should duplicate an existing groupItem on the existing artboard and lay them out on a new artboard from left to right, top to bottom. If one of the artpieces in a row overlaps the artboard.right then start new row. If one of the artpieces overlaps the artboard.bottom then create new artboard and start again.
    If you omit the last if statement, it works sort of (theres still overlap going on). I'm assuming the script is detecting an artpiece overlapping and its saying OK, NEXT sign we'll start a new row, rather than the one thats actually started overlapping.
    If you run the script as is, it starts at the first artpiece position and goes -X without creating a new row. As if the 2nd if statement is saying screw the 1st if statement.
    I know the issue is with the 2nd if statement, but I can't figure out how to get them to work together as well as get the 2nd if statement to actually do whats its supposed to do. Unless I should put the if statements inside seperate functions and call them in the main loop? I'm not sure. Any help would be greatly appreciated, as always!

    Could you merge the second if statement requirement into the first to make sure that it stops?  Something like;
    if ((dupArt.geometricBounds[0] >= actAB.artboardRect[2]) && (dupArt.geometricBounds[1] >= actAB.artboardRect[3]))
            y+= -dupArt.height + -94; //-94 adds some space between the rows
            x = 43;
        //check for overflow of artboard Y; create new artboard and start at top -50 & x 43 of new artboard
         if(dupArt.geometricBounds[1] >= actAB.artboardRect[3] ) { //if top edge of dupArt is overlapping bottom edge of artboard
            newAB(); //function to create artboard and position in relation to previous
            actAB = docRef.artboards[actIdx];
            x+= -dupArt.width + -100;
            y = -50;
    This would make it check both the side and bottom of each artwork and when it is done it will then run the next if statement.

Maybe you are looking for

  • Password protecting a portfolio

    how do you PW protect a portfolio of pdfs?

  • SCCM 2012 and .PCK files - how exactly are they used?

    Ok, no one, not even Microsoft engineers can seem to provide a clear and definitive answer on this topic, everyone's understanding of the .PCK file with relation to SCCM 2012 is clear as mud. I understand what .PCK files are...in the SCCM 2007 world,

  • Is there any way to password protect access to a form?

    We are going to use a form for a part of a clinical study and there are only 4 persons that should be able to enter information into this specific form. I understand that I can choose to share the link to the form with only these appropriate persons

  • PDF attachments are changed when emailed

    I have a user that whenever she creates or prints a PDF (Adobe 8 Professional) and then tries to email it within Adobe (going to file -> attach to an email), it converts to either a winmail.dat, .eml or a .mht file when the person receives it. It onl

  • Cannot drag and drop in finder

    I am running the latest version of OS X Lion 10.7.2 and I can drag windows, drag to highlight files on the desktop.  I just cannot drag a file to a folder. What gives?