How to maintain several views of the same data and update a tree

I have an object UiUser, which is displayed in my application in several different views. There are three different views which all have the User object i.e. search results, user tree and user table. Each of the views has the same menu items, so the user can be deleted from any of the views.
What I am trying to work out is how should I ensure the item is updated in all of the views?
I can fire a property change event with the UiUser and update two of the views i.e. search results and user table, but how do I update the tree?
I thought of overiding the equals/hashcode methods of the UserTreeNode to compare uiUser.getId () and I could then search the tree and find the tree node of the required UiUser. But I have reservations about this whole approach as it just seems wrong.
Any ideas of how to keep N views in sync, I really don't want all of the views to have tree nodes as this equally seems wrong. This should be a simple problem to solve and I'm sure lots of people have done it, I'm just not sure which is the best approach to take.
Thanks

Hi Jan,
This is so because each installer has a GUID that is used to check whether the application needs to be upgraded or not. (It's a Microsoft function).
What you can do is create a new installer with a different GUID (copy the installer in the projects), and check witha  text editor whether this GUID has changed.
But any specific reason you need two seperate installs? You can run the application twice with a specific INI token:
allowmultipleinstances=True
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be!

Similar Messages

  • How to install several instances of the same application on a computer?

    Hej,
    I have an application in LV 2009, where I have created an installer. The installer installs to a directory called \Receiver relative to the Program Files directory. If I install this once to a computer, everything is OK.
    However, I want to install the same application twice on the same computer. There should be no conflicts between the two applications, since I can configure them to work on different directories and ports. But if I call the installer again, and selects another directory, nothing is installed and I get the message "Installation Summary - No software will be installed or removed". It seems like the installer ignores that I have selected another directory, and just uses the default directory, relative to the Program Files directory.
    Anyone knows the trick, how to install several instances on the same computer ?
    BR, Jan
    Jan Nielsen
    Freelance system analyst and LabVIEW programmer

    Hi Jan,
    This is so because each installer has a GUID that is used to check whether the application needs to be upgraded or not. (It's a Microsoft function).
    What you can do is create a new installer with a different GUID (copy the installer in the projects), and check witha  text editor whether this GUID has changed.
    But any specific reason you need two seperate installs? You can run the application twice with a specific INI token:
    allowmultipleinstances=True
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • My old emails and documents are not showing up in email or finder both from the same date and I cannot find them anywhere. I do not believe I have any archive settings on. Any idea how I get them to show up?

    my old emails and documents are not showing up in email or finder both from the same date and I cannot find them anywhere. I do not believe I have any archive settings on. Any idea how I get them to show up?

    Hello gpbondi,
    The following article provdies step-by-step instructions for downloading your purchases both in iTunes and on your devices.
    Download past purchases
    http://support.apple.com/kb/HT2519
    Cheers,
    Allen

  • How to load several documents at the same time (PWA 2013)

    Hi
    In 2010 there was an option for that:
    In the document library of a project site, I want to load several documents at the same time.
    How can we do that in PWA 2013 ?
    Thanks

    Robert,
    Here is a video taht might help. if the Dragging does not work, you could also use the regular Explorer method.
    https://www.youtube.com/watch?v=7n4fP3YWYI4
    Cheers,
    Prasanna Adavi, Project MVP
    Blog:
      Podcast:
       Twitter:   
    LinkedIn:
      

  • How to open 2 playlist at the same time and have them in two diferents windows?

    until iTunes 10 i can open more than one playlist at the same time, and have this playlist in diferents windos but since 11 i cannot do it anymore.. is anoying if i need to fast switc music froms playlists.. so it become usseless...
    i think the aim of the previous itunes (before 10) it was to give a service of arranging librerys of musics.. but now, it becomes a sell party program...
    and only to you to know, if i dont put my credit card on my account i cannot even buy FREE programs on appstore...
    thats bad... very bad..
    if you need some tips how to do it proprerly here you got one..
    if is not broken... dont fix it...
    now i have my iphone 6, my ipad and the iphone of my wife, but i have itunes 10 because is the one who have the multi windows possibilities.. and now i cannot sync the devices..
    thats very bad..
    i hope you can help me...
    if you dont understand my problem i can show you via video..
    thanks

    You could create an applescript to do it.
    tell application "Dreamweaver's Full Name"
    activate
    end tell
    tell application "BBEdit's Full Name"
    activate
    end tell
    tell application "Acrobat's Full Name"
    activate
    end tell
    Replace the quoted text (leaving the quotes) with the full name of the application, and save the applescript as an application bundle, and put it in your dock.
    NOTE: You may have to put the full path to the application for it to work (I.E. /Applications/Dreamweaver.app). If you do, encase the full path in quotes.
    Good luck!
    Message was edited by: joshz

  • How to see several windows at the same time?

    I know this is too basic.
    I have 1 window open.
    The tab shows 3 separate items each of which I can click on and see.
    But I don't want to see each window 1 at a time.
    I want to see all 3 items at one time.
    I know how to tile once I see all 3 windows.
    But how do I get to see all 3 at the same time?

    Peter Spier wrote:
    Tabs display one doc at a time. Any viewing method the shows multiple docs uses un-tabbed windows. That button I showed you above is one easy way to change from the tabs to a convenient arrangement of windows.
    So if you have multiple tabs, you can use the views button to arrange them so they are all visible at the same time.
    The Arrange Windows widget in the tool bar is sometimes confusing.
    Selecting any open window makes that the topmost active window; if it's near maximum size, you can't see the others, so this is also confusing.
    How about Window > Arrange > Float All in Windows to separate multiple tabbed open files, followed by Window > Arrange > Tile (or Cascade)?
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • How to have several records on the same row

    Hello everyone
    I am creating a print only adobe form.
    I would like to print several records from a table on 1 row only.
    Example:
    DeliveryNumber : 12345
        ITEM1
               SerialNumber1   SerialNumber2   SerialNumber3
               SerialNumber5   SerialNumber5   SerialNumber6
       ITEM2
               SerialNumber1   SerialNumber2
    and so on.
    How can we do that in AdobeForm?
    I created a directory structure containing the Delivery number, the Item and a field pointing to a table type containing the serial numbers.
    Actually the AdobeForm is printing 1 serial number per row. We can have several hundred serial number per item, that is taking alot of paper. If I can have 2 or 3 serial number on the same row it will be greate.
    I could create a large field and pour several serial number to it before printing, but because each serial number are barcoded, it won't work. I need to have separate serial number to have it barcoded.
    Any suggestions would be highly appreciated.
    Regards
    dstj

    Hello Shweta
    Thank you for your response, but we already do that technic.
    My question was more related to dynamic column display.
    Depending on specific conditions, the number of column can change.
    So, having fixed column driven by a structure will partially work as far as the number of column will not exceed the number of field in the structure.
    That is exacly that I want to avoid.
    Regards
    dstj

  • Application Builder Question: how to install several applications in the same computer?

    Hello,
    I have two LabView applications and its installers, all of them generated with the aplication builder. Both works fine: I can install them in several computers without LabView. But when I try to install both in the same computer, the result is that I only have the last application I've just installed. I want to get the two applications installed at the same time in the computer. Is it possible? Anyone can help me?. I'm using LabView 2009 SP1
    Thanks in advance

    aespin wrote:
    Exactly that. I'm triyng with several options in the Application and Installer builder, but it seems it does not work
    It works quite well. We have installed over a dozen different applications on the same computer. I suspect you have something configured incorrectly in your installers and possibily the builder itself. We would need to see those to see what is not correct. One possibity is that your builds are generating the same GUID for the applications. Therefore even though the names are different the installer thinks they are the same thing.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • How to Maintain Cube without Aggregating the incoming data

    Hi All,
    I have a process which loads a cube and then aggregates the incoming data. The PL/SQL procedure is as below.
    CREATE OR REPLACE PROCEDURE load_actual AS
    xml_clob clob;
    xml_str varchar2(4000);
    isAW number;
    begin
    DBMS_LOB.CREATETEMPORARY(xml_clob,TRUE);
    dbms_lob.open(xml_clob, DBMS_LOB.LOB_READWRITE);
    dbms_lob.writeappend(xml_clob, 183, ' <BuildDatabase Id="Action4" AWName="FIN_AW.FINAW" BuildType="EXECUTE" RunSolve="true" CleanMeasures="false" CleanAttrs="false" CleanDim="false" TrackStatus="true" MaxJobQueues="0">');
    dbms_lob.writeappend(xml_clob, 42, ' <BuildList XMLIDref="ORG_ACTUAL.CUBE" />');
    dbms_lob.writeappend(xml_clob, 18, ' </BuildDatabase>');
    dbms_lob.close(xml_clob);
    xml_str := sys.interactionExecute(xml_clob);
    dbms_output.put_line(xml_str);
    end;
    As per my requirement I have to flip sign for some leaf level dimensions after the cube load and then re run the aggregate. If I go with this script I will end up aggregating my data twice.
    My question is how do I modify this script so that the records are loaded in the cube but the aggregate does not run.
    I tried by changing RunSolve="true" parameter as below but still it is solving the data.
    dbms_lob.writeappend(xml_clob, 184, ' <BuildDatabase Id="Action4" AWName="FIN_AW.FINAW" BuildType="EXECUTE" RunSolve="false" CleanMeasures="false" CleanAttrs="false" CleanDim="false" TrackStatus="true" MaxJobQueues="0">');
    My cubes are compressed, partitioned and I am using Oracle 10.2.x.
    Please provide your suggestions if I missing something here ?
    Thanks,
    Vishal

    10g Cubes have a property called 'AutoSolve'. As far as I understand, if this is set to YES, then the aggregation will happen automatically whenever you build the cube. I may be missing something, but the RunSolve property of the BuildDatabase command does not seem to be used.
    In AWM the "AutoSolve" property appears to correspond to the check box
    "Use Default Aggregation Plan for Aggregation"
    in the "General" tab for the cube. In order to uncheck this you also need to uncheck "Use Compression" on the "Implementation Details" tab.
    As an example, I created a cube named C1 with the box checked and then exported the XML.
    <Cube Name="C1" LongName="AMERICAN::C1" ShortName="AMERICAN::C1" PluralName="AMERICAN::C1" Id="C1.CUBE" Schema="GLOBAL" UseGlobalIndex="false" SparseType="COMPRESSED" DefaultDataType="NUMBER" AutoSolve="YES">
    I then created cube C2 with it unchecked.
    <Cube Name="C2" LongName="AMERICAN::C2" ShortName="AMERICAN::C2" PluralName="AMERICAN::C2" Id="C2.CUBE" Schema="GLOBAL" UseGlobalIndex="false" SparseType="STANDARD" DefaultDataType="NUMBER" AutoSolve="NO">
    The compression check is enforced by AWM. I hand modified the XML for cube C1 to switch AutoSolve to NO and used it to recreate the cube without errors (as a compressed cube). I don't know if there will be any issues downstream.

  • Hello, I have updated my sister's mobile to the new ios7 and then i dont know what happened but she had the same data and names and contact numbers , photos, also messages text and whatsapp as mine. Its exactly the same, I want to restore her data help

    Hello, I have updated my sisters mobile with my Pc via itunes, and she then had the same wallpaper as mine, also the same applications, with the same username, password, same txt messages and whatsapp messages as mine. Everything is the same. Pls help me, how can I restore her info?
    Please tell me in precise, because I'm new to tech. problems. Thx. (Arwa) P.s. her iphone is 5.

    You probably used your backup, or iCloud backup.
    If she wants to restore it back, she must have a backup before. On iTunes, click Restore iPhone and choose her backup.
    If she doesn't, she has to start fresh.

  • After I updated to ios5 my calendar did not bring in dates and when I began re-entering dates after one or two it froze up and after I got it going again it will not populate an end time on the same date and will not save the appointment as a consequence.

    After I updated my Ipad2 to IOS5 my calendar lost all appointments.  After re-entering a couple of appointments it froze.  After getting it going again, the calendar will not populate an end date for the current day and consequently I can't save the appointment.  Is this a common problem as I have just purchased this ipad and the calendar function is very important to me.

    Hmm... It looks like they are gone forever now then. I can't think of any other way of getting them back apart from restoring from an iTunes or iCloud backup. Somebody else might be able to help but I think they're gone forever. I don't know why they were wiped from your iPod but it could be something to do with security. In the future I would recommend syncing to iTunes or iCloud to prevent it from happening again. You can always make a reservation at the Genius Bar and see what those guys can do because it seems that they are still there, they are just 'hidden' from view. http://concierge.apple.com/reservation/gb/en/techsupport/
    Cheers,
    Khal
    P.S I'm sorry for the late reply

  • How do I prevent email addresses when part of the addreses is typed in Yahoo or Hotmail - several people use the same computer and a whole drop down list of previously uised adresses come up each time sonmeone logs on

    When typing in my email address to log into Yahoo Mail or Hotmail the email addresses of other users who have logged in using this machine appear too. How do you stop this from happening?

    See:
    *Tools > Options > Privacy > History: "Remember search and form history"
    * [[Form autocomplete]]
    * [[Clear Recent History]]

  • I want to have my Outlook open as well as several browsers at the same time and use tabs.  is this possible?

    I use Outlook for calandar and to manage inboxes... I want a tabbed view that shows outlook and my oher open aps or windows so I don't have to cycle through open windows.  How the heck do I do this?

    You can install the portable Firefox 3.6.x version to access websites that do not work with Firefox 5+.
    *http://portableapps.com/apps/internet/firefox_portable/localization#legacy36

  • Is it possible to send a text to several contacts at the same time and not have their replies go to everyone on the list?  I have an iphone 4s and most of the people I am texting also have iPhones.  I do have group messaging turned off.

    Is it possible to send a text from the iphone 4s to several contacts and not have their replies go to everyone else on the original text?  I have group messaging turned off but this seems to do nothing. 

    Do this instead:
    Email everyone instead of texting and use BCC: which will hide all of the people's emails.

  • Approach for holding the same message and updating the table field Status

    Hi,
    I have a scenario a (first) proxy asynchronous to JDBC synchronous and then(second) proxy asynchronous.
    my first proxy calls sends records (which has a status entry " in process" ) to JDBC it updates or inserts.
    JDBC sends a response (may be a count of records updated or inserted)
    now i need to handle some how to get the records which have been inserted or updated, so that i can map and change the table entry  status field" in process" to " active".
    Can i handle this without stored procedures.If so how
    Can it be done through BPM  where i retain inital mapping or any other solution. please  help.

    Hi Robin,
    Ok (but that would be the apt method)
    Some other approaches :
    1. Make a async scenario (Proxy to DB), which will update or insert records. Write a trigger in DB which will fetch updated/inserted records and send it to XI. Then you update them in R/3 (via proxy). So you will have two async interfaces (one is Proxy to DB and other one DB to Proxy)
    2. go for BPM. Receive (from proxy), transform sync send, transform send (to proxy) . I will not prefer this as it will be a performance hinderance.
    Regards
    Suraj

Maybe you are looking for

  • I'm trying to reinstall Photoshop CS4

    I'm trying to reinstall Photoshop CS4 after I had a computer repair. I have my key and I downloaded the 2 files on the adobe dl page for CS4, There's a _LS1 file of 1,200 KB and a larger _LS2.7z file of 796M.  But when I double-click on the LS1 files

  • I cant get my itunes to work or get started at all in my computer?

    Hi my name is fabienne grotke i can get my itunes to work or even open and i have a movies and music i am not trying to get new one or spend more money in getting the same movies and music again so i was wondering if the is a way i can bring it in so

  • Problem in date insertion

    hi.. i have a jsp page, which is used to insert values in database... my problem is that i can insert date values only in dd-MM-YY format.i.e 26-jan-04 only... if i enter any valid date format, it cannot able to insert it in database..i.e 26/01/2004

  • Master Data Validation FI-GL

    Hello, i need to create a validation with GL Accounts. I can't find any transaction such as GGB0 for GL Account Master Data. Can anyone help me if there is a possibility to create Master Data Account Validations? Thank you, Nuno Anjos

  • IPhone 5 dead after July 2014 update

    MY iPhone 5 is dead after update. Apple has no answers but to sell me a new phone.  Any good advice ?