Automated batch alt+enter (add used import)

Hi all! is there a way to do an organize import on a package hierarchy that will add missing imports missing? (organize imports from the contextual menu dont seem to add required imports)
thanks
Message was edited by:
user557575
Message was edited by:
user557575
Message was edited by:
user557575

Thanks for replying. I think my issue was wrongly described. The issue is the following:
Doing a move of a class lets say foo.MyClass to foo.bar.xyz.MyClass (without using the refactor feature) and class foo.bar.UserClass was using that class. Now if I hit "organize import" it will remove the unused import but wont add the new one. I will have to go inside the file UserClass to hit alt+enter for the newly referenced MyClass.
So if I have to that in a batch( for a lot of files) it becomes quite a burden.
Theres good reasons for not using the refactor feature in our situation. So its not an option.
Is that clearer? If so, is there a way to have Jdev do the "alt+enter" automatically for a whole class hierarchy (like foo. ... ) ?
Thanks

Similar Messages

  • Turning Raw into JPG (using automated batch action)

    I have finally decided to try and learn a bit more... this is all motivated by me not being happy with White Balance and the results I get... I want more vibrant colours and natural skin tones...
    Anyways I have decided to start shooting in RAW... but dont know how I get them into JPG format ??? I know I need to use Photoshop/Batch... but not sure exactly what...
    When I open a RAW image it appears in Photoshop (CS3) and allows me to really manipulate the colours... but how do I then SAVE those changes and create a action so I can automate batch the pics...
    Cause we shoot large sets of images (like 100-200 per set) it's important that I can automate batch them... way too slow to do each image individually...
    Any help would be greatly appreciated... do I make the changes in Photoshop then batch them in Bridge ? Please think of me as a absolute newbie who needs a step by step instruction lol

    Ok here's a step to step of what I want to do...
    I want to open the RAW image... I take it I do that in Photoshop ? I say that cause when I double click a RAW image thats where it automatically opens...
    After I done that I want to play around with the image... ajust exposure/colours ect... The programe that the RAW image opens in is perfect to do that, I believe it's opened in Camara Raw 4.0...
    But here is the tricky bit... what I really want to be able to do is then create a action/automated batch so that I can make the same changed (automated) to all the images from that set... not have to do them individually... and at the same time change the images into JPG's
    So thats the bit I guess how and what do I use to do that ?

  • How to restart swing application by using shotcut key (ex :CTRL+ALT+ENTER)

    Hi,
    Currently my swing application freezs some times, it will not come back, only option i have is restart.
    Can some one can help me how i can implement short cut key (CTRL+ALT+ENTER) that can restart my application. (in any state, my action should allow to restart).
    Thanks
    Anjan
    Edited by: 807057 on Nov 2, 2010 9:16 AM

    Currently my swing application freezs some times, it will not come back,I would work on fixing that problem. Sounds like you aren't using Threads properly and are blocking the EDT. Read the section from the Swing tutorial on [url http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html]Concurrency for more information.
    how i can implement short cut key (CTRL+ALT+ENTER) that can restart my application.Within Swing this would be done by using "Key Bindings". A section on Key Binding is found on the tutorial link from above. However, is Swing actually is frozen then this won't work.
    Therefore this would need to be done at the OS level, which java doesn't support. You would need to use JNI, which I know nothing about.

  • Why can't I use Alt+Enter to open addresses in a new tab?

    Why can I no longer use Alt+Enter in 6.0 on Windows Vista.
    I have tried Customizable Shortcuts, the shortcut isn't even listed.

    The To More Specific node is dealing with compile-type inference. In this case, you are loading a default instance from disk and then attempting to cast to the base Message class. However the type you are casting to is going to a dynamic output - this gives the compiler no assurances that the input class at run-time on the dynamic input will be the same as the output type; only that it will be a type at the top of the hierarchy. Dyanmic dispatch inputs/outputs must be the same type to guarantee some form of type safety.
    You need the Preserve node there so that you can guarantee the class at both dynamic dispatch terminals will be the same type.
    However this is probably not the best mechanism for a factory method. Factory methods should ideally be static; their job is to provide an instance of the right type (e.g loaded by path as per your example) and you don't need an instance of a class to do that. The only reason I can think of to over-ride said functionailty in a dynamic dispatch method is to provide some form of custom construction for the creation of the type. If all you are creating is an instance with nothing but the default private data then there is no reason to over-ride in the child classes.
    EDIT: Another post collision. nathand is on the money with this one.

  • How to add used DCs in Netweaver 7.1 ??

    hi ,
                i want to add used Dc for EJB DC. I am having JAVA project which is having some java classes , which i want to use in EJB DC. How to add that JAVA DC as used DC for EJB DC in Netweaver 7.1????

    HI,
    Hope this may help u..
    Importing Development Configurations from the SLD
           1.      To obtain access to the development configurations in the SLD, set the Development Configuration Pool in the Developer Studio:
                                a.      From the menu path, choose Window  ® Preferences.
                                b.      Open Java Development Infrastructure ® Development Configuration Pool.
                                c.      Specify the URL of the server on which the SLD is installed in URL in the following format http:. Choose OK.
           2.      To import a development configuration, open the context menu in the Local DCs view and choose Import Configuration... 
           3.      Select the remote option.
    A dialog for logging on to the development infrastructureappears.
           4.      Enter USER1and the corresponding password.
    The Development Configuration Importdialog appears.
    In this dialog, you can set the storage location (the root folder) for the files created in this development configuration. To be able to change this setting, you must first remove all development configurations.
    A list of the development components available in the SLD appears.
           5.      Open the node TECHNO/1.0 and import the development configuration TECHNO_dev
    The extension dev stands for the development status of the SC. The APPLcons development configuration is also created. After development, you can maintain the consolidation state in this development configuration.
    The Development Configuration Import dialog appears.
           6.      Choose Next.
    The Build Variants dialog window appears.
           7.      Choose Finish.
    The system reads the development configuration settings and sets up your development environment. The views Active DCs, Inactive DCs, and Local DCs now contain a new entry with the name of the imported development configuration.
    Result
           1.      In the Development Configuration perspective, switch to the Inactive DCs view.
           2.      Open the folder TECHNO_dev.
    You can see only the software components which you will develop.
    DCs can be created only in the Inactive workspace and are activated in the CBS only by a successful build. This makes them available automatically in the Active workspace, where they can be used for the build of other DCs.
           3.      Switch to the Active DCs view.
           4.      Open the folder TECHNO_dev.
    Next to the software components you want to develop, you see three entries:
    ■       sap.com_SAP_BUILDT
    ■       sap.com_SAP_JTECHS
    ■       sap.com_SAP-JEE
    These SCs are provided and can be used but cannot be changed.

  • Automated batch doesn't work in photoshop & from Bridge

    Hi all,
    Automated batch from  Bridge  tools>photoshop>batch  Photoshop cs5 stops working. Automated batch also doesn't work in photoshop. Automated actions work in Photoshop. All other Photoshop process work  from Bridge. I use a PC with windows. This happens even with files I was  previously able to do an automated batch with Photoshop. It doesn't  matter what the file extension is. This has only recently begun  happening for no apparent reason.

    First, given what you've written, it's important to ask:  48 x 48 what?  Details matter.  48 x 48 pixels?  Inches?
    Beyond that, yes, I believe the Image Size dialog interacts with us a little differently than it used to.
    Whether it's a positive or negative design change I can't say.  They're trying to pack a lot of functionality in there, and it might take a little getting used to...  It does seem deterministic:
    If you want to keep the physical print size the same and increase the pixel density - i.e., upsample the  image - you would have to choose physical dimensions.  Try this:
    1.  Change the units to inches.
    2.  Change the ppi value and press OK.  This resamples the image.
    On the other hand, if you want to keep the pixel count the same, but just change the ppi value so that it matches a particular kind of display, how would you do it?  Try this:
    1.  Change the units to pixels.
    2.  Change the ppi value and press OK.  This changes the metadata.
    Are you trying to assume what leaving the units set to percent means?  To me it says "xx % of the pixel count".
    -Noel

  • Automated Batch Overide Save As not working

    I have created an action in CS4 that includes a Save for Web at that end. When I try to run an Automated Batch and change the save folder location using the overide check box and selecting the new forlder, the batch run still saves to folder specified in the action. There is no overide.
    I am using Windows 7. Please see the screencast here: http://www.screenr.com/1xo

    The commands in the batch dialog for override save as and renaming don't apply to
    export plugins, which is what save for web is.
    You can make it work by setting the folder you want to save the images to when you
    use save for web (the folder you choose when using save for web to record the action)
    Then add a Close without saving step at the end of the action.
    In the batch dialog set the Source folder and set none under Destination.
    (the images will open, run the action and close one at a time)
    Added: An easier way would be to use the Picture Processor script which has a save for web option.
    Then you wouldn't need the save for web or close steps in your action.
    http://www.ps-scripts.com/bb/viewtopic.php?f=10&t=3409&sid=73d7ab9891f7b601c9078f1717a9efd 3&start=15
    MTSTUNER
    Message was edited by: MTSTUNER

  • Batch process to add Javascript to PDF files

    Hi All,
    I have written a small piece of Javascript for my PDF files. The idea is to add a date stamp to each page of the document before printing. To do this, I have added the following code to the "Document Will Print" action:
    for (var pageNumber = 0; pageNumber < this.numPages; pageNumber++)
    var dateStamp = this.addField("Date","text",pageNumber,[700,10,500,40]);
    dateStamp.textSize=8;
    dateStamp.value = "Date Printed: " + util.printd("dd/mmm/yyyy",new Date());
    My question is this: Does anyone know of a way to batch process a whole directory (of around 600 PDF's) to insert my Javascript into the "Document Will Print" action of each file?
    Many thanks for any information you may have.
    Kind regards,
    Aaron

    > Can I just confirm a few things please? Firstly, should I be going into "Batch Sequences" -> "New Sequence" and selecting "Execute JavaScript" as my sequence type?
    Yes, you are creating new batch sequence that will use JavaScript.
    > My second question is, how can I insert my body of script into the variable "cScript"? I have quotation marks and other symbols that I imagine I will have to escape if I wish to do this?
    You ca either use different quotation marks or us the JavaScript escape character '\' to insert quotation marks
    Your will print code will only work for a full version of Acrobat and not Reader, because Reader will not allow the addition of fields. Also each time you print you will be creating duplicate copies of the field. So it might be better to add the form field only in the batch process and then just add the script to populate the date field in the WillPrint action.
    // add form field to each page of the PDF
    for (var pageNumber = 0; pageNumber < this.numPages; pageNumber++)
    var dateStamp = this.addField("Date","text",pageNumber,[700,10,500,40]);
    dateStamp.textSize=8;
    this.setAction("WillPrint", "dateStamp.value = \"Date Printed: \" + util.printd(\"dd/mmm/yyyy\",\new Date());");

  • Oracle Proc in edmx via add function import is not working

    I have a mandate to call a external oracle package from my local oracle db proc using Entity Framework. I have created a synonym for that. When I am trying to polpulate the oracle procedure data in my mvc screen using odp.net. The screen is closing automatically when I am trying to retive the column info by clicking "get column information" under "Add Function Import" in model browser.
    Following is my code snipet
    1. created a oracle stored proc to call the external proc
    CREATE OR REPLACE PROCEDURE USP_GET_DETAILS
    IN_ID IN NUMBER,
    OUT_RESULT OUT SYS_REFCURSOR
    IS
    OUT_FED_TAX_ID_NO VARCHAR2(50);
    OUT_PARTY_ID_NO NUMBER;
    OUT_PARTY_TYP_CD NUMBER;
    BEGIN
    PKG_GET_DETAILS.USP_GET_DETAILS_INFO (IN_ID, OUT_FED_TAX_ID_NO, OUT_PARTY_ID_NO);
    OPEN OUT_RESULT FOR
         SELECT OUT_FED_TAX_ID_NO, OUT_PARTY_ID_NO FROM DUAL;
    END USP_GET_DETAILS;
    2. added the proc "USP_GET_DETAILS" using "Update model using database" in my edmx file
    3. Now proc has been added to my edmx file under SSDL
    <Function Name="USP_GET_DETAILS" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="BCS_OWNER">
    <Parameter Name="IN_ID" Type="number" Mode="In" />
    </Function>
    4. added following code to my web.config file
    <oracle.dataaccess.client>
    <settings>
    <add name="BCS_OWNER.USP_GET_DETAILS.RefCursor.OUT_RESULT" value="implicitRefCursor bindinfo='mode=Output'" />
    <add name="BCS_OWNER.USP_GET_DETAILS.RefCursorMetaData.OUT_RESULT.Column.0" value="implicitRefCursor metadata='ColumnName=OUT_FED_TAX_ID_NO;NATIVEDATATYPE=Varchar2;ProviderType=Varchar2'" />
    <add name="BCS_OWNER.USP_GET_DETAILS.RefCursorMetaData.OUT_RESULT.Column.1" value="implicitRefCursor metadata='ColumnName=OUT_PARTY_ID_NO;NATIVEDATATYPE=Number;ProviderType=Decimal'" />
    </settings>
    </oracle.dataaccess.client>
    5. underModel Browser try to add the procedure under "Add Import Function", select "Complex Type". when i am clicking on "Get column information" button, the screen blank for some time and then auto closing the screen without displaying any column info. I would like to know if any thing wrong i am doing on my steps? please help?

    I managed to workaround this problem.
    I add the function with no return value. Then in the Model Explorer you go to the properties of the imported function and edit the return type property, the same dialog appears, but this time it works as expected(considering you have set all the values correctly on your config file).

  • Migrating a webi report from one environment to another using import wizard

    Hi Everyone,
    Can anyone please tell me what all access should I have on my ID to be able to migrate a webi report from one environment to another environment(e.g. from development to quality).
    Regards,
    Neeraj Sharma

    Hi,
    To use the Import Wizard utility, you basically need Administrator, Full Control to Top-level folder, and "Add objects to the folder" and "Edit objects" for this user on the root folder.
    You need the least restrictive role, because you require absolute control for content promotion between 2 entitlement systems.
    the webi document is the cherry on-top,  you;ll have universes, connections, folders to bring over too. 
    Regards,
    H
    p.s. check Note 1450708 - How to restrict access to the Import Wizard from a Business Objects Enterprise system
    and
    Note 1297121 - What rights needed to use Biar File Extraction for a normal user while using Import Wizard ?

  • Error message when importing data using Import and export wizard

    Getting below error message when importing data using IMPORT and EXPORT WIZARD
    Error 0xc0202009: Data Flow Task 1: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
    <dir>
    <dir>
    Messages
    Error 0xc0202009: Data Flow Task 1: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "Could not allocate a new page for database REPORTING' because of insufficient disk space in filegroup 'PRIMARY'.
    Create the necessary space by dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.".
    (SQL Server Import and Export Wizard)
    Error 0xc0209029: Data Flow Task 1: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "Destination - Buyer_.Inputs[Destination Input]" failed because error code 0xC020907B occurred, and the error row disposition on "Destination
    - Buyer_First_Qtr.Inputs[Destination Input]" specifies failure on error. An error occurred on the specified object of the specified component.  There may be error messages posted before this with more information about the failure.
    (SQL Server Import and Export Wizard)
    Error 0xc0047022: Data Flow Task 1: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "Destination - Buyer" (28) failed with error code 0xC0209029 while processing input "Destination Input" (41). The
    identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information
    about the failure.
    (SQL Server Import and Export Wizard)
    Error 0xc02020c4: Data Flow Task 1: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.
    (SQL Server Import and Export Wizard)
    </dir>
    </dir>
    Error 0xc0047038: Data Flow Task 1: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on Source - Buyer_First_Qtr returned error code 0xC02020C4.  The component returned a failure code when the pipeline engine called PrimeOutput().
    The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
    (SQL Server Import and Export Wizard)
    Smash126

    Hi Smash126,
    Based on the error message” Could not allocate a new page for database REPORTING' because of insufficient disk space in filegroup 'PRIMARY'. Create the necessary space by dropping objects in the filegroup, adding additional files to the filegroup, or setting
    autogrowth on for existing files in the filegroup”, we can know that the issue is caused by the there is no sufficient disk space in filegroup 'PRIMARY' for the ‘REPORTING’ database.
    To fix this issue, we can add additional files to the filegroup by add a new file to the PRIMARY filegroup on Files page, or setting Autogrowth on for existing files in the filegroup to increase the necessary space.
    The following document about Add Data or Log Files to a Database is for your reference:
    http://msdn.microsoft.com/en-us/library/ms189253.aspx
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How should i do for using "import static" in CDC?

    Hello-
    First of all, i have no good Eng. skill.
    please understand me if i write wrong words.
    I'm a beginner of Java ME and i want to compile some sources using CDC Java(TM) ME platform SDK 3.0.
    The sources are using "*import static*" and they need to be compiled with 1.5 javac-source version.
    So that, i changed some properties of 'project.properties' and 'build-impl.xml' files in project folder.
    ( javac.source=1.3 --> javac.source=5
    javac-target=1.3 --> javac-target=1.5)
    after then, it didn't come out any problem when compiling but,
    'cvm.exe' error msg box came out and it could't run.
    --- Error ---
    Failed to connect to device 1!
    Reason:
    Emulator 1 failed to register in time!
    Result: 1
    cdc-run:
    profiler.check:
    open-profiler:
    run:
    BUILD SUCCESSFUL (total time: 56 seconds)
    i think the above way i did might be a forced thing.
    what should i do for this problem?
    Please let me know..
    Thanks,
    Ji hye
    Edited by: kjh10101 on Mar 29, 2010 7:28 PM
    Edited by: kjh10101 on Mar 29, 2010 7:28 PM

    From the linked document:
    For tab bar icons, create an icon in the following sizes:
    For iPhone and iPod touch:
    About 30 x 30 pixels
    About 60 x 60 pixels (high resolution)
    For iPad:About 30 x 30 pixels
    Note: The icon you provide for toolbars, navigation bars, and tab bars is used as a mask to create the icon you see in your application. It is not necessary to create a full-color icon.
    Use Preview, GraphicConverter, etc....see the Mac App Store for image editors and add an alpha channel to your image...size it, and add it to the bundle.

  • Note 951952 - Incorrect excise values if batch split in MIGO for import PO

    Dear participants,
    We have applied Note 951952 - Incorrect excise values if batch split in MIGO for import PO,
    for following issue,
    While doing import goods receipt for batch split quantity,
    excise base value is calculating for entire amount not by splitted quantity.
    We are unable to solve this issue.
    We are using SAP ECC release 6.0 level 11 whether above mentioned note can be applied or else any other
    new notes to apply solve this issue.
    Advance thanks
    Regards,
    A.Jeyakanthan

    Thanks for reply,will check note is applicable for current package level.
    Actually we found excise base value is same for GR of batch split quantities for same material
    with valuation type import duty free.

  • Entering letters using number keys only?

    How do I enter letters using only the number keypad, like on a regular phone?  Sometimes when I call a business, I get their automated directory, and I have to enter a few letters of the person's name using the number keypad.  How do you do that on a Blackberry, without having to memorize that ABC is 2, DEF is 3, etc.???

    tomsspa wrote:
    How do I enter letters using only the number keypad, like on a regular phone?  Sometimes when I call a business, I get their automated directory, and I have to enter a few letters of the person's name using the number keypad.  How do you do that on a Blackberry, without having to memorize that ABC is 2, DEF is 3, etc.???
    What type of device you're using? If it's a touch screen (storm) device then you'll be able to do so otherwise you'll have to remember it!
    tanzim                                                                                  
    If your query is resolved then please click on “Accept as Solution”
    Click on the LIKE on the bottom right if the post deserves credit

  • Automated/batch printing job?

    Hi all,
    We are using BW 3.5 and I was wondering if there is a way to set up an automated batch print job. (ie. let's say that once a month a report is generated automatically, is there a way to tell BW to print that report automatically at a given time without user interaction?)
    Thanks for any help you can offer and points will be awarded to helpful replies.

    How would I go about doing that?
    From the research I've done, I believe background printing can be done using BEx Broadcaster in BI 7.0 but not BI 3.5. Is this accurate or is there another way to accomplish this in BI 3.5?
    Thanks.

Maybe you are looking for

  • SATA/IDE channel configuration issues

    Ok here's the setup: First SATA Channel: Seagate 7200RPM 80GB HDD Primary IDE Channel: LG 52x CD-ROM Drive Secondary IDE Channel: Western Digital 7200RPM 160GB HDD OS: Windows XP SP1 Mobo: MSI 865PE Neo2-P MS-6728 Version 2 The bios can detect all dr

  • Gaming (Bootcamp) iGPU temp

    Hey guys, I just installed Win8 on bootcamp for the first time to try some games what I cannot play under Mavericks. So I downloaded AIDA64 app for monitoring temperatures to test how it goes with playing. There is one item I don't recognize from iSt

  • N96's terrible playback noise during video playbac...

    I am extremely angree to nokia n96 designers.I have been using noıkia for years.But didin't hope to have a problem like this in the most expensive mobile.Please do something and correct the mistakes.!!!!

  • RAID Failure Reported

    My Arch Linux system is reporting a failure when I login via Gnome. The system has the RAID partitions: md0 = swap md1 = /boot md2 = / When I login via Gnome, the system alerts me with a serious looking warning that one of two disks has multiple bad

  • ITunes Mac App Store Affiliate RSS Feeds Broken ?

    Looking at the affiliate RSS Feeds produced by Apple, Many of the backgrounds, instead of being transparent or at least white, are totally black. I have no idea if it is just my Mac being silly, but I don't think it is :/ Check out the problem here: