How do I save settings for a View?

Hi
Anyone who can help me, it'll be great...
I have created a view in eclipse. When the user opens the eclipse workspace that view is also opened. The user can use the view to search for code. When the workspace is closed the view is saved because the program calls saveState when the workspace closes.
However, when the user has the view open and does a search and then just closes that view (without exiting the workspace) the search criteria that the user previously enters does not save... so when the user opens the view again all the default search criterias are loaded.
What do I use to save the view state?
Thanks

This question is really best asked in an eclipse newsgroup, e.g. the RCP group:
http://www.eclipse.org/newsgroups/index_project.php
All I can tell you (I'm just starting out fiddling with this myself) is that FAQ 204 in The official Eclipse FAQ 3.0 is "How does a view persist its state between sessions". It says that you can use the JFace IDialogSettings facility for persisting view state in the case where your view is closed but not the workspace. Is that something you are familiar with?

Similar Messages

  • How to export/save settings for Authentication?

    Hello all,
    what is the best way to export/save settings for Authentication and 'core settings' of authentication using ssoadm?
    I want to save all settings from:
    (Top Level Realm) -> Authentication [ in web gui console].
    Also all settings from 'All Core Settings'. Is there a way to do that from command line?
    Thank you

    Does the backed up copy of the iPhone's settings include the voicemail information? I'm wanting to do a "restore" on the iPhone, but want to find a way to keep the voicemails and not lose them

  • How to create transaction code for maintenance view

    hai friends,
    i hope every thing goes good.
    i have doubt, how to create transaction code for maintenance view. I created view for tranperant table and now i want to create transaction code for the view.
    i tried and i donot know the screen number and program name and where can i give the view name.
    if any one know please post in details.
    thanks in advance.

    Hi Elam,
    You need to create a "Parameter Transaction".
    What this means is that you will have a transaction (let's call it "ZMAINT") which calls "SM30" and passes in your table name.
    Go to transaction SE93 and enter your new transaction code. Enter in the Tcode description and choose "Transaction with Parameters" (it shouldbe the last radio button).
    Enter in the default transaction "SM30" and tick the "Skip Initial Screen" check box. Hit Enter.
    Now scroll to the bottom of the screen and you will see a Table Control where you will need to enter in the values to the SM30 selection screen.
    Because you hit ENTER, the program will have loaded in the Selection Screen parameters into it's memory. Hit the drop down for "Name of Screen Field" and select "VIEWNAME" and then enter in your Z Table in the "Value" column.
    Now go to the next line and hit the drop down and select "UPDATE" in the "Name of Screen Field". Enter in a "X" in the value column.
    Now save the transaction and there you have it.
    Hope this helps.
    Cheers,
    Pat.
    PS. Kindly assign Reward Points to the posts you find helpful.

  • Version to save PDF (for web view/printing)

    Hello,
    I am going to be linking an employment application on my client's website as a PDF. I am not sure what version to save it as (version for Acrobat Reader) so that it's most compatible with those visitors coming to the site. Does anyone know what would be a safe bet as far as what version to save my PDF as?
    Also, does anyone have any tips on how to best save it for downloading online but then printing it out?
    Thanks!
    Ashley

    You should probably go back to at least AA7, though there are those still using vers 4. You need to be a bit careful if you have added anything fancy, it will be lost. Also, if the form is to be used a lot (500 times is the limit), you do not want to activate Reader Rights (it is a violation for more than 500 uses). Just have the form submitted by having it printed or by submitting the form data (FDF file). For an application, you would want the submission to be to a web site (secure site preferred) due to the confidential information that would be included. The form data can be imported to the form using the FORMS>Manage Form Data>Import. You can do some database work directly from Acrobat (I am not good at that and the appropriate subforum is for forms) or you can use the tools in the FDF Toolkit to write server side code for the submission and data manipulation (there are Perl and C code examples in the toolkit).
    Good luck.

  • How to provide security settings for the adobe form using livecycleDesigner

    Hello,
    I am very new to form designing,
    can any one please tell me how to provide security settings for the adobe forms at client side?
    Regards,
    Menaka

    Hi,
    that is a good topic for the ADFS forum.
    ADFS forum - http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=Geneva
    But you could pass the user-agent as incoming claim type Client User agent. User-agents can be manipulated, so if that is an issue you can look into Device Registration and the Device OS type from there. That is also a incoming claim but requires DRS and
    DRS is not available for all plattforms.
    Hth,
    Lutz

  • How can I save passwords for URL's

    How can I save passwords for URL's? I just installed 10.6.7 Snow Leopard. I also had to format my HD drive and reinstall my software.

    Hi,
    From the Safari menu bar click Safari / Preferences then select the Autofill tab. Select the box next to:
    User names and passwords.
    Navigate to a site you normally log into with the user name and password. Click Yes when prompted. That will save that information to a new keychain for you.
    Passwords are actually stored in your Keychain Access application. (Applications/Utilities)
    Carolyn

  • How do I save passwords for my apps

    How can I save passwords for apps

    You either write them down somewhere or you check the "remember me" (or something similar) button while in the app.  There is no universal way to save them.  It's up to the writer of the app whether or not to save credentials.

  • I have Firefox 3.6 on my Mac OSX 10.6.5 and it will not save settings for igoogle or my password for googlemail or hotmail. Can you help?

    I have Firefox 3.6 on my Mac OSX 10.6.5 and it will not save settings for igoogle or my password for googlemail or hotmail. Can you help?

    Very weird day in Firefoxland
    First on a Powerbook G4 running 10.4.11 I respond to an invitation to upgrade to Firefox 4 (like a lot of others). Long story short, I wind up losing the browser altogether -- including all bookmarks. Why? Because neither the Firefox homepage (or CNET downloads) makes it clear that 4.0 is for OS 10.5 only! Amazing!
    Then I try to register to post a reply in a thread that crits Firefox for not making this System Requirements info upfront clear. But the Register page I’m taken to (https://support.mozilla.com/bs/users/register) is in SERBO-CROATIAN!!
    Then I try to log into Chat a couple of times and when it’s not CLOSED its a long line waiting and THEN it closes.
    WOW!! Are the wheels off the wagon here or what!?!

  • My macbook pro's screen constantly goes dim. I have set the energy saver settings for battery to 7 mins but it goes dim if the period of inactivity is less than 7 mins. Please help.  MBP 13" OSX 10.6.8 (2011)

    My macbook pro's screen constantly goes dim. I have set the energy saver settings for battery to 7 mins but it goes dim even if the period of inactivity is less than 7 mins. Please help.  MBP 13" OSX 10.6.8 (2011)

    Doesn't sound like it.  It sounds like you're being logged-off.
    Does your Mac go through the complete Restart cycle -- black screen, gray and/or blue screen momentarily, startup chime, etc? 
    If you're not sure, do a Restart just to watch the process; the next time the problem occurs, see if it's the same.
    You need to know which it is, as these will have very different causes, and different places to look for a solution.

  • How do I change my settings for Device viewing?

    I am a first time user very new to everything related... How do i change the settings for what devices a published book (digital only) to be viewable on all devices??  right now it is only viewable on the iPad... please help 

    Launch the Messages app and go to the Messages>Preferences menu.

  • How to set Environment Settings for J2EE?

    hi i don't know java but know a little vb6
    i would like make and compile this:
    http://java.sun.com/developer/technicalArticles/peer/
    i downloaded all components... but can't figure out how to do:
    Table 1: Environment Settings for Compiling and Running J2EE Applications
    thanks..
    Message was edited by:
    Hopelessone

    You can't enter sites in a list to make Firefox remember names and passwords for specific sites.
    If the password manager is enabled (remember passwords is check-marked) then Firefox will ask via a pop-up from the key icon that appears on the location bar whether you want to remember that name and password and that name will then appear in the list in the password manager window.
    *http://kb.mozillazine.org/Password_Manager
    *https://support.mozilla.org/kb/make-firefox-remember-usernames-and-passwords
    Websites can use autocomplete=off to prevent Firefox from saving the name and password.<br />
    You can remove autocomplete=off with a bookmarklet to make Firefox save the name and password in such a case.
    *http://kb.mozillazine.org/User_name_and_password_not_remembered

  • How do I customize settings for Drafts mailbox on an Exchange account?

    My company's IT department set up my work email to sync with my iPhone. It's an Exchange account.
    Right now, I can't send or edit emails that I compose and save as a draft on my office computer from my iPhone. I believe that I need to edit the settings for the Drafts folders, but I can't find where these account settings are located - I don't see an Advanced settings option.
    Can anyone help? Thanks!

    A bit more info on this-- my company allows access from Microsoft Exchange to iPhones via ActiveSync.
    I have a problem editing messages created in Outlook (desktop) on the iPhone. The Draft folder and its contents will sync to the iPhone, and I can open and view the messages, but cannot edit and send them.
    Is there a way to solve this by configuration? I can't find "Advanced" setting options on my iPhone. Thanks.

  • How to create one filter for N views in the same report

    Hello everybody,
    I need to have the same filter for diferent views that I have in the same report. Anyone knows how to do it?
    Thanks in advance
    Mario Mesquita

    Hi,
    In India site, you can create a SMTP connector which point to the local ISP.
    Thanks.
    Niko Cheng
    TechNet Community Support

  • HOw to start the project for first view in webdynpro application

    Hi,I am having  a problem regarding scenario for customer feedback for portal end user i.e..wen user login to a application for feedback there it check the Id of the user wether it had given the feedback or not by comparing the Id with the database Idu2019s from SQLserver.If the feedback is thr of that Id then a view shud say u hav already given feedback otherwise feedback form shud open ,the user will giv feedback and closes by thanking with other view.My problem is how to openthe  view were it will compare the userlogin Id with the database Id to move further.How shud I handle this scenario for first view.I am creating this application in webdynpro.In this project how shud I manage the viewsu2026

    Hanif,
    you can create a webdynpro application and create an iview and set the height and width to 0 .inside that webdynpro application open a popup that provides the feedback form .and you invoke this popup window in the WDDOINIT() or WDDOMODIFYVIEW() of the webdynpro main view.
    apart from this you need to get the logged user id in main view and get the output from database whether you want to open the feedback form
    check this forum on developing webdynpro application
    Web Dynpro Java
    Thanks
    Bala Duvvuri

  • How do I save preferences for automatically filled in text box?

    G'day
    I've got a popup button that lists all the external disks on my computer, and when a user picks a particular file on one of them, the path is displayed in a text field.
    If I edit the field, it's saved automatically, but how do I save/update the preference bindings without editing please?
    Regards
    Santa

    it's OK, I figured it out. For posterity...
    First define the property...
    property NSUserDefaults : class "NSUserDefaults"
    then to read...
    tell standardUserDefaults() of NSUserDefaults
    set tempDiskPath to objectForKey_("DiskPath")
    set tempDayReportDisplay to objectForKey_("DayReportDisplay")
    set thetempYears1 to objectForKey_("theYearsStrings")
    set tempYear to objectForKey_("tempYear")
    set theDayYears1 to objectForKey_("theDayYearsStrings")
    set tempdayYear to objectForKey_("tempdayYear")
    end tell
    the to write...
    on applicationShouldTerminate_(sender)
    -- Insert code here to do any housekeeping before your application quits
    set tempDiskPath to DiskPath's stringValue() as text
    set tempDayReportDisplay to DayReportDisplay's stringValue() as text
    set thetempYears1 to (theYear's itemTitles()) as list
    set tempYear to theYear's titleOfSelectedItem() as text
    set theDayYears1 to (DayReportYear's itemTitles()) as list
    set tempdayYear to DayReportYear's titleOfSelectedItem() as text
    tell standardUserDefaults() of NSUserDefaults
    setObjectforKey(tempDiskPath, "DiskPath")
    setObjectforKey(tempDayReportDisplay, "DayReportDisplay")
    setObjectforKey(thetempYears1, "theYearsStrings")
    setObjectforKey(tempYear, "tempYear")
    setObjectforKey(theDayYears1, "theDayYearsStrings")
    setObjectforKey(tempdayYear, "tempdayYear")
    end tell
    return true -- current application's NSTerminateNow
    end applicationShouldTerminate_

Maybe you are looking for