Add menu after the plug-in has started

Hello,
I want to added a menu under 'File' menu after the plug-in has started.
Through the shell example in SDK, i am able to add menus on plug-in startup but cant figure out how to add menus after the plug-in has started.
Is it possible to do so? If yes, then how to do it?
Thanks,
Hitesh

The suites should be the same, namely AIMenu.h's AIMenuSuite. The calls are fairly self-explanatory I think, though if you have questions fire away & hopefully I can help.
The only thing that might be tricky is that it wants a reference to your plugin. Typically you'd do that in response to a selector/caller combination that included a message -- the message always has such a reference. If that's the only thing you're missing, the simple answer is to grab that from one of the early messages and stow it in a static variable somewhere so you can use it later; it won't change, so that's perfectly acceptable.

Similar Messages

  • Users added to a Task AFTER the BPM process has started

    Does anyone know of a way to assign users to a task AFTER the BPM process has started?

    Hi Craig,
    whenever a Task Instance gets created, the assigned roles and groups are resolved into individual users. This means that changes to the roles and groups do not affect existing Task Instances.Then the only way to assign additional users is via "nominate" operation from the NWA or "delegate" from the Task UI. Such changes in the roles and groups will only take affect for newly created Task Instances.
    Hope this helps.
    Stefan

  • How do I set up iTunes to automatically move on to play the next album after the last one has finished? (in Album view)

    How do I set up iTunes to automatically move on to / play the next album after the last one has finished? (in Album view).
    This used to happen automatically in Genre view.

    Hi Henryhippo,
    If you have questions about play order in iTunes, you may find the following article helpful; I believe you can use the Play Next or Add to Up Next to add albums as well as songs.
    iTunes 11 for Windows: Ways to play songs
    Regards,
    - Brenden

  • I listen to a lot of live performances (house sets that are from 1 hour to 3 hours long) when I start to listen to a set and then stop to do something else on the iPhone when I go back to start to listen to the track it has started from the beginning.

    I listen to a lot of live performances (house sets that are from 1 hour to 3 hours long) when I start to listen to a set and then stop to do something else on the iPhone when I go back to start to listen to the track it has started from the beginning.

    It sounds like either your hard drive or the SATA cable that connects it to the motherboard are failing. This could be heat related in your case, which is why you see it after it runs awhile. You can take it to the Genius Bar for a free evaluation. If you decide to test it yourself, I usually suggest moving the hard drive to an external enclosure. If it works there for awhile, the cable is probably the issue.
    http://www.amazon.com/Sabrent-2-5-Inch-Aluminum-Enclosure-EC-TB4P/dp/B005EIGUD4/ ref=sr_1_3?ie=UTF8&qid=1397647657&sr=8-3&keywords=2.5+enclosure
    http://www.ifixit.com/Device/MacBook_Pro_13%22_Unibody_Mid_2009

  • Extend End date after the end date has reached

    Hi gurus,
        We are using SRM5.0 on ECS with backend ECC5.0.
        We notice that after the end date of bid has reached even though there is a bid submitted by supplier , the purchaser still can extend the end date to a later date as long as he has not made the accept or reject choice.
        If it is the case, the purchaser can view the price after the end date reached and then extend the end date and maybe tell other supplier what the price the opponent has submitted. This is not allowed and should be penaltied.
        We just want to know how to avoid this in the term of system. Can we make the
    end date field unchangeable after the end date has reached? or any other solutions?
    Thank you in advance.
    Message was edited by:
            YE Wang

    Hi,
    As Teja and SAndeep mentioned,you can go for either the Approval or BADI approach.
    In case you are implementing the BADI,you can make the concerned fields grayed out so no changes are made but then this would mean that <b>no changes
    </b> can be done at all after the END date has been reached.
    In case of workflow,you can have you starting conditions in which you will compare the end date and the system date .If same,you can trigger  a Workflow for approval of any changes to be done further.So even if the changes are made,the chnages are approved by a higher authority.
    Another way would be to implement the "BBP_DOC_CHECK_BADI" to check whether the end date has been reached and then allow the user to do any changes.You can use the FM "BBP_PD_BID_GETDETAIL" to get the details of the BI and then check.In this case,you can additionally check for other parameters of the User like role,authorisation based on which he can make changes in exceptional cases.
    BR,
    Disha.
    <b>Pls reward points for useful answers.</b>

  • How to use a pull down menu after the 2.0 update

    Hi,
    I'm looking for help on how to use a pull down menu after the latest update. The method I was using before no longer works and it's driving me crazy.
    Has anyone else had this problem and figure out a new way?! 
    I was holding my finger down on the pull down menu and waiting for the options menu to pop up, I'd push cancel and the menu would stay. This no longer works.

    Also would love to know plz

  • Hi i have an itouch 4th gen the problem is that the front cover has started to come away, looks like the glue is drying up, ive got older ones and they are still working fine. Has anyone else had this problem and if so what can be done about this. Thanks

    Hi wondering if anyone can help me, i have an itouch 4 gen and the front cover has started to come away, it hasn't been dropped or anything just started to come away ( although i did notice that it was heating up drastically ) looks to me like the glue has dyed up and as usual the guarantee had not long ran out. Has anyone else has this problem if so what can be done about it. Thanks

    SOme users have reported that their screen has come a little loose but very few.
    Try fixing it yourself
    iPod Touch Repair – iFixit

  • How to fix the " flashing question mark after the finder icon when starting up" withou an apple keyboard?

    Hi
    I am wondering How to fix the " flashing question mark after the finder icon when starting up" without an apple keyboard. I have 2 of those .7Ghz emacs so just wanna fix them
    Thx

    Hi,
    >I am using a wireless standard keyboard so maybe the emac doesn't regognise it
    Installation of driver software may be required. Do not expect any wireless device to automatically work with a Mac unless guaranteed to do so. In a case like this, use a wired USB keyboard (a PC keyboard should be OK) and a wired mouse to begin with.
    >I have installed Ubuntu 13.00 on the HDD from another computer.
    Is it a version for PowerPC?
    https://wiki.ubuntu.com/PowerPCFAQ
    https://wiki.ubuntu.com/PowerPCDownloads
    >a list of eMac hotkey's that can be used before OS boot from a standard Windows keyboard?
    Could the following article be of interest?
    http://support.microsoft.com/kb/970299
    If/when starting from a bootable CD, press and hold the C key.
    Jan

  • Cannot re enable the add ons after the new 13.0.1 update ,it shows no update available and all the add-ons are disabled

    cannot re enable the add ons after the new 13.0.1 update ,it shows no update available and all the add-ons are disabled

    I have the same problem. One minute everything was okay, the next minute all my addons were disabled.
    Adobe Acrobat 10.1.3.23
    AVG Site Safety Plugin 11.1.0.4
    Google Update 1.3.21.115
    Java Deployment Toolkit 7.0.50.255 10.5.1.255
    Java Platform SE 7 U5 10.5.1.255
    Shockwave Flash 11.3.300.265
    VLC Web Plugin 2.0.2.0
    Windows Presentation Foundation 3.5.30739.1
    I can reenable them but FF will disable them on the next startup. I uninstalled version 13 and installed version 12. Problem gone! So I'm still using version 12 and am afraid to update to version 13.
    This problem began when I was trying to research and fix a problem (no history all-of-a-sudden) so it probably was something I caused. Can't recall everything I did though.
    So: Does the addon problem I described have a solution? If so, I'll update my version 12 to version 13. Please respond.....

  • [svn] 650: Prevent potential NPEs from wait' ed long poll requests whose threads exit after the underlying endpoint has been stopped by a separate thread .

    Revision: 650
    Author: [email protected]
    Date: 2008-02-25 16:55:13 -0800 (Mon, 25 Feb 2008)
    Log Message:
    Prevent potential NPEs from wait'ed long poll requests whose threads exit after the underlying endpoint has been stopped by a separate thread.
    Bugs: BLZ-65 - Long-polling clients trigger NPE on server shutdown.
    QA: Yes
    Doc: No
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-65
    Modified Paths:
    blazeds/trunk/modules/core/src/java/flex/messaging/endpoints/BasePollingHTTPEndpoint.java

    Hi,
    Looks like you're using BDB, not BDB JE, and this is the BDB JE forum. Could you please repost here?:
    Berkeley DB
    Thanks,
    mark

  • The area around the tabs get corrupted after sometime. This has started since version 35

    On my Windows 8.1, beginning with Firefox 35, a strange problem has started appearing. Strange Chinese fonts appear in tabs area making it impossible to deal with tabs. It starts appearing in all firefox windows opened subsequently. This starts after around an hour of starting firefox and continues until all sessions are closed. I have tried reinstalling firefox. Now I have updated to version 36. Still the problem continues.

    hi ashwanibright, this is a displaying flaw caused the mcafee site advisor extension - please try to disable or remove that in case you have it present until there is an update by mcafee that can fix the problem.
    http://service.mcafee.com/faqdocument.aspx?id=TS100162
    https://community.mcafee.com/thread/76071

  • Need to Trigger a Program in ECC after the DSO load has completed

    HI Experts,
    I have scenario where i need to trigger a Program in ECC after the load to DSO has been completed successfully. Basically opposite of the everyday scenario.
    Can i still use the  the RSSM_EVENT_RAISE FM in the program to call the event in ECC.
    If the above is true.Do i need to have code in the program to confirm the DSO has been loaded or can i just have the program (which basically calls the FM RSSM_EVENT_RAISE) appended to the process chain after the DSO Activation?
    Appreciate your advice

    Hi,
    To help future proof your solution, lean towards using the process chain as much as possible.
    A "Green/Success" only link from the DataStore Activation process variant to an ABAP Program process variant will work nicely. It will also still allow your program to be executed by other scenarios (like manually because you want the event raised now without any dependency on the DataStore status).
    SAP now recommends you use the CL_BATCH_EVENT class and it's methods to interact with the system events. Use transaction SE24 to review the methods and parameters available and then use the sample code below to test your solution.
    Here is a starting point for coding that is used within an ABAP Program process variant in a process chain.
    Use transaction SE38 to store this code to be called by the ABAP Program process variant.
    constants:
      c_interrupt_eventid   type btceventid  value '[Event]',
      c_interrupt_eventparm type btcevtparm  value '[Parameter]'.
    data:
      l_interrupt_eventid   type btceventid value c_interrupt_eventid,
      l_interrupt_eventparm type btcevtparm value c_interrupt_eventparm.
    call method cl_batch_event=>raise
      EXPORTING
        i_eventid                      = l_interrupt_eventid
        i_eventparm                    = l_interrupt_eventparm
      EXCEPTIONS
        excpt_raise_failed             = 2
        excpt_server_accepts_no_events = 3
        excpt_raise_forbidden          = 4
        excpt_unknown_event            = 5
        excpt_no_authority             = 6
        others                         = 1.
    if sy-subrc <> 0.
      message e051(rsar) with 'Failed to raise background event.' c_interrupt_eventid c_interrupt_eventparm.
    endif.
    Note: The error message is process chain friendly and will appear in the RSPC transaction GUI and system logs.
    Hope this helps,
    John.

  • How do I uninstall Acrobat Pro XI after the trial period has elapsed?

    Buying is not an option for the moment (company processes to follow first - could take weeks!!) and the "readme" files give instructions that cannot be followed because there is no menu available now that the trial period has expired. Right now, I cannot open pdf files at all, even though I still have the free Acrobat Reader software installed.
    Any ideas anyone?
    Thanks in advance.

    Hi,
    It seems to me that Adobe Reader is not set as the default to handle pdf's but Acrobat is, and hence after the trial expired you are not able to view the pdf's.
    Please follow the steps below to change the default program for viewing pdf's
    Launch Acrobat / Reader.
    Click on the 'Edit' button in the toolbar, and then select 'Preferences'
    A new window would come up. On the left column, higlight the 'General' Tab and on the right hand side at the bottom there's a button called 'Select Default PDF Handler'
    Click the button and select 'Adobe Reader' as the default for PDF's.Click on 'Ok' now to save the changes.
    Alternatively, you can simply right click on any pdf file and then select 'Open With..' > 'Choose Default Program' and select 'Adobe Reader' from the list of programs.
    Make sure the option at the bottom is checked that says ' Always use the selected program to open this kind of file'.
    Click on 'Ok' now to save the changes.
    To uninstall Acrobat you can simply uninstall it from the Control Panel > Programs or use the Acrobat cleaner tool : http://labs.adobe.com/downloads/acrobatcleaner.html

  • How to call  a javascript method after the PPR event has finished  ?

    Hi!
    How can we make a javascript method get called after the processing of ADF PPR event?
    My specific use case is,
    I want to call a javascript function after the data in the table is loaded...
    In 10g, that is not a problem, as the data used to get loaded directly during onLoad, and so i would call my js function on load;
    but in 11g , the table data is being loaded through PPR which is initiated onload, and so i needed to call my function after the PPR Response processing has been done; for which I need the name of the event triggered at that instance.
    Is it possible to do this?
    Regards,
    Samba

    Hey, I got it.
    I handled the ADF Controller's PREPARE_RENDER_ID phase of the lifecycle, and then called the
    script to get Executed.
    The code :
        public void afterPhase(PagePhaseEvent pagePhaseEvent) {
            FacesPageLifecycleContext ctx = (FacesPageLifecycleContext)pagePhaseEvent.getLifecycleContext();
                 if (pagePhaseEvent.getPhaseId() == Lifecycle.PREPARE_RENDER_ID) {
                    if(AdfFacesContext.getCurrentInstance().isPostback() )
                        afterRender();
        }is written in lifecycle listener , and my backing bean extended this listener ,
    and in the afterRender() method I did this :
       public void  afterRender(){
                System.out.println("AFTER RENDER CALLED");
               FacesContext context = FacesContext.getCurrentInstance();
               ExtendedRenderKitService service = (ExtendedRenderKitService)Service.getRenderKitService(context, ExtendedRenderKitService.class);
               service.addScript(context, "translate();");
           }That's it.
    It did work, magnificently.
    Thanks for the idea.
    Regards,
    Samba

  • Need to format a form field to add a "%" after the number

    I am working on a form that will both print for manual fill-in and also electronic fill-in using reader. My issue  is that I need to
    add a "%" symbol after the number input by the user. I can't use the percentage format type because that places a 0.0% in the field
    when no data is entered and I can't have that due to the need to be able to print a blank form for manual fill-in. Is there a simpl
    e way to append the % character after the user input only if data is in fact input and to leave the field empty otherwise?

    I assume you only want the user to input numbers and you've then set the format to number.
    In the textfield properties go to the format tab and set it to custom.
    Enter a custom keystroke script:
    if(!event.willCommit)
    var nChars = event.selEnd - event.selStart;
    var aFull = event.value.split("");
    aFull.splice(event.selStart, nChars, event.change);
    var strFull = aFull.join("");
    event.rc = !isNaN(strFull);
    This will allow user to input numbers only - strings are regarded as user type.
    Go to the validation tab and enter a custom validation script:
    f = event.value;
    if(f) {
        event.value = f + " %";
    If I understood your question correctly, that should do the trick.
    Torben.

Maybe you are looking for

  • Utl_dbws web service call ORA-29532

    Hello, I want to call web services from database (version 10.2.0.4.0) using the package utl_dbws and the SOAP message format "document". The web service is build with the jDeveloper 10.1.3.4 and is deployed on the OC4J server. With the help of the fo

  • Instance Dependent Public Method is not working for Workflow

    Hello Experts, I have made Custom class for  a workflow. This class is triggering the WF fine but the problem is while trying to execute a WF task which contains a Instance Dependent & Public  method its not working , the WF task is not processing th

  • Why i can't email with instructions on how to reset your security information ?

    i need to email me how to with instructions on how to reset your security information

  • Faulty Wifi On 3GS?

    Need some info about the wifi on the 3gs. Seems mine is acting up from day one. Had the 3g prior to getting the 3gs in june, i use the wifi at home all the time on the iPhone, my router is the eircom netopia. I always used the wifi at home when on my

  • Feature Request: "Show Password" option in login s...

    When I am connecting to wi-fi networks, the connection dlg box often gives me the option to show the characters of the wi-fi password, so that I can ensure that I'm putting the right chars in.   Can I request this same option in the login screen for