LVOOP: Children aren't Friends of their Parents' Friends

OK, so I don't know if it's a bug, a poor design decision, or my lack of understanding, BUT here goes...
(talking LV2013 here)
I have two preant classes, from which I am making plugin child classes.
I would LIKE some of their methods to be restricted from the Public sphere.
So... I make the two classes Friends, and the methods Community. It works great!
However... their plugin Child classes CANNOT access these Community methods.
That seems stupid to me. It means I have to choose between having child classes and accessing friends' methods. If children inherent their parents' methods then why can't they inherit the ability of their parents to access their friends methods?
I think I am going to have to create protected parent method wrappers around friend methods?
Any insights would be appreciated. I'd really like to see this changed, but not being a LVOOP expert like so many of you out there, I'd love to learn the rationale behind this.
Any insights?

When it comes to decisions behind the design with regards OOP in general, I tend to find it helpful to look for the answer with regards to C++ or more "established" OOP programming languages. Often times I find a lot of these questions have been asked before. 
Here is a related link
Essentially, this gives you the ability to allow children access to the frienders data if you feel they may need it (make it available in protected parent method wrappers), but does not automatically allow it. Think about if you wanted some of the friender's methods available to the friendees' children, but not all the methods? You'd have no way to do this if all methods were automatically available to the children. There are other reasons as well in the link above but I won't reiterate for redundancy redundancy sake.
CLA, LabVIEW Versions 2010-2013

Similar Messages

  • I can only see some of the info (e.g. the email Facebook gives you) for some friends in Contacts. I can see everything for others. Their b-days aren't listed in my Contacts (but these friends have their B-days on their profile on FB). Can anyone help?

    Hello,
    I can only see some of the information of my Facebook friends in my Contacts. For example, a friend has a birthday today. I received an email that she and another friend have birthdays this week. I received a notification on my iPhone and iPad that her birthday was today. It was never displayed in my Notification Center or Calendar beforhand, like it's displayed for other friend's (for other friends, it's displayed in the Notification Center, with the Calendar icon, 1 day before). I looked at every setting I could think of and the Help pages on Facebook. Nothing is working. My friend with the birthday today has her birthday openly listed on her Profile information on her Facebook page. In my contacts, her Facebook email (the one Facebook assigns you when you join) is listed. However her picture and birthday are not listed. I displayed my Facebook Contacts only, and roughly 20 showed up and not the rest. It's like the devices are not recognizing those people and putting their information in the respective places. I have an iPad 3rd Gen, iPhone 5, and MacBook Pro (purchased in January 2013. I hope that helps) and ALL the software updates are current. Can anyone help? Also, my MacBook cannot access my Contacts from Yahoo. Despite my typing in the correct password repeatedly as well as deleting and adding the Yahoo account again. I'd be grateful for any and all help. Thank you. 

    Step by step, how did you arrive at seeing this agreement?

  • I just received a new macbook pro. I am looking for a usb3 external storage 500 GB drive.  Some manufacturers of drives aren't for sure their drive will work with the new lion system. Does anybody have any suggestions for drives that will workw

    I just received a new macbook pro. I am looking for a usb3 external storage 500 GB drive.  Some manufacturers of drives aren't for sure their drive will work with the new  system. Does anybody have any suggestions for drives that will workw

    There seems to be a problem, just now, with the USB 3 ports on the new MBP's supporting eternal USB 3 drives. Some people have no luck at all - can't even recognize the drive - and some are reporting USB 2 speeds (those who drives are recognized). I'd call a dealer such as LaCie or OWC to see if they have USB 3 drives that actually work with MBP's with USB 3 ports. You may have to wait for a software/firmware update.
    Clinton

  • Sub-Menus are displaying away from their parent Menu for first time.

    Hi All,
    I have a problem with sub-menus display location. In my application, I have a JPopupMenu to which several sub-menus (*JMenu*) are added. All the JMenuItems inside JMenu are having an Icon (Image) along with menu item title. I am providing a facility to change the font size of Menu Item names as well as the ImageIcon size dynamically through a dialog box. When the size is changed to larger value than the existing, the menus as well as submenus are getting displayed correctly. But when I change the size of ImageIcon and the font to smaller value than the existing one, then the submenus are getting displayed away from their parent menu for the first time. The location of sub menu display is matching with the location when their size was larger. This problem appears only for the first display of sub menus after their sizes are changed. For the successive display, the locating is resetting automatically to correct location.
    So can anybody help me out about how to display submenus at correct location irrespective of font and image size changes for the first time also? Is there any event which gets fired when we change the font size or ImageIcon sizes? Is there any specific method to refresh the menu sizes if any of such properties (such as font size, ImageIcon size) are changed?
    If you need any additional information, feel free to ask.

    Below is the sample code for the query I placed. Steps to reproduce the problem are:
    1. Click on "Increase Font" button.
    2. Generate the popup at the right side corner of the screen (using right mouse click) such that the sub menu of edit should appear at left side of "Edit" option.
    3. Click on "Decrease Font" button.
    4. Generate the popup at the right side corner of the screen (using right mouse click) such that the sub menu of edit should appear at left side of "Edit" option.
    You will see that sub menu of edit menu is displayed away from the popup for the first time. The sub menu location matches with previous location when its font size was larger. Location resets automatically for the next successive displays.
    import java.awt.BorderLayout;
    import java.awt.Container;
    import java.awt.Dimension;
    import java.awt.Font;
    import java.awt.Toolkit;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JMenu;
    import javax.swing.JMenuItem;
    import javax.swing.JPanel;
    import javax.swing.JPopupMenu;
    public class JPopupDemo implements ActionListener {
      public static Font newFont=new Font("Times New Roman", Font.BOLD,24);
      JFrame frame = null;
      JPopupMenu popupMenu = null;
      JMenuItem fileMenu = null;
      JMenu editMenu = null;
      JMenuItem cutMenuItem = null;
      JMenuItem copyMenuItem = null;
      JMenuItem pasteMenuItem = null;
      JMenuItem findMenuItem = null;
        JPopupDemo(){
        frame = new JFrame("Popup Example");     
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        popupMenu = new JPopupMenu();
        fileMenu = new JMenuItem("File");
        editMenu = new JMenu("Edit");
        cutMenuItem = new JMenuItem("Cut");
        editMenu.add(cutMenuItem);
        copyMenuItem = new JMenuItem("Copy");
        editMenu.add(copyMenuItem);
        pasteMenuItem = new JMenuItem("Paste");
        pasteMenuItem.setEnabled(false);
        editMenu.add(pasteMenuItem);
        editMenu.addSeparator();
        findMenuItem = new JMenuItem("Find");
        editMenu.add(findMenuItem);
        popupMenu.add(fileMenu);
        popupMenu.add(editMenu);
        MouseListener mouseListener = new JPopupMenuShower(popupMenu);
        frame.addMouseListener(mouseListener);
        //frame.setSize(350, 250);
        Toolkit toolkit = Toolkit.getDefaultToolkit();
        Dimension dim = toolkit.getScreenSize();
        frame.setSize(dim.width,dim.height-100);
        JButton incrButton = new JButton("Increase Size");
        incrButton.setActionCommand("IncreaseSize");
        incrButton.addActionListener(this);
        JButton decrButton = new JButton("Decrease Size");
        decrButton.setActionCommand("DecreaseSize");
        decrButton.addActionListener(this);
        Container cp = frame.getContentPane();
        cp.setLayout(new BorderLayout());
        JPanel jp = new JPanel();
        jp.add(incrButton);
        jp.add(decrButton);
        cp.add(jp,BorderLayout.SOUTH);
        frame.setVisible(true);
    public static void main(String args[]) {
         JPopupDemo demo = new JPopupDemo();
      public void actionPerformed(ActionEvent ae)
            if (ae.getActionCommand().equals("IncreaseSize"))
                   newFont = new Font("Times New Roman", Font.BOLD,48);
                   setNewFont();
              else if (ae.getActionCommand().equals("DecreaseSize"))
                   newFont = new Font("Times New Roman", Font.BOLD,12);
                   setNewFont();
       public void setNewFont()
            popupMenu.setFont(newFont);
            fileMenu.setFont(newFont);
            editMenu.setFont(newFont);
            cutMenuItem.setFont(newFont);
            copyMenuItem.setFont(newFont);
            pasteMenuItem.setFont(newFont);
            findMenuItem.setFont(newFont);
    class JPopupMenuShower extends MouseAdapter {
      private JPopupMenu popup;
      public JPopupMenuShower(JPopupMenu popup) {
        this.popup = popup;
      private void showIfPopupTrigger(MouseEvent mouseEvent) {
        if (popup.isPopupTrigger(mouseEvent)) {
          popup.show(mouseEvent.getComponent(), mouseEvent.getX(), mouseEvent
              .getY());
      public void mousePressed(MouseEvent mouseEvent) {
        showIfPopupTrigger(mouseEvent);
      public void mouseReleased(MouseEvent mouseEvent) {
        showIfPopupTrigger(mouseEvent);
    }Edited by: VPKVL on Aug 4, 2008 1:18 AM

  • "Some of the object names cannot be shown in their user-friendly form"

    Error states:
    "Some of the object names cannot be shown in their user-friendly form. This can happen if the object is from an external domain and that domain is not available to translate the object's name"
    We are receiving this error when we click on a group with ADUC and the members of that group were added from the trusted domain.  Domain A has a one way non transitive trust wtih domain B that is in place and active.
    We have checked every possible setting and configuration and cannot resolve this problem.  Domain A has Windows 2008 R2, domain B is 2003.  Domain A is at a windows 2008 functional leve, domain b is at a 2003 functional level.
    YOu can add account from domain B into domain A , but they immediately turn to SIDS once you hit "apply".
    Validated trust on both ends
    triple checked DNS and see no issues
    checked policies
    dcdiag returns no errors
    Could this be a bug with having a trusted domain on 2003 and the non-trusted domain on 2008 R2?

    Hi,
    This error occurs if:
    (1) the other domain is not available (meaning, not connected or name
    resolution is bad, etc)
    (2) the object in the other domain has been deleted
    (3) Broken secure channel
    Please refer to the below link:
    http://us.generation-nt.com/answer/objects-names-translation-help-77158972.html
    Regards,
    Yan Li
    If you have any feedback on our support, please click
    here
    Cataleya Li
    TechNet Community Support

  • Inclue children and exclue children in a single hierarchy in parent child dimension in mdx

    hi,
    include children and exclude children in a single  hierarchy in parent child dimension in mdx
    *12-parent
     **20-parent
     - 9-parent
           --250-child1
           --210-child2
            --240-child3
    aggregation of 12-parent only
    aggregation of 20-parent only
    aggregation of  9 with children
    regards,
    Manish

    Hi manishcal16PPS,
    According to your description, you have a parent child dimension in your cube. Now you want to use one measure use show aggregation value including/excluding child member based on different parent level member. Right?
    In this scenario, we could use IIF() in the calculated measure to apply different calculation depends on the current dimension member. Please refer to query below:
    with member [x] as
    IIF([Dim].[Hierarchy].CurrentMember is [Dim].[Hierarchy].[Parent].&[9]
    sum(Descendants([Dim].[Hierarchy].CurrentMember,
    [Date].[Calendar].[Parent]),
    [Measures].[Amount])
    sum([Dim].[Hierarchy].CurrentMember,[Measures].[Amount])
    select [x] on 0,
    [Date].[Calendar].[Parent].members on 1
    from
    [Cube]
    Best Regards,
    Simon Hou
    TechNet Community Support

  • [svn:osmf:] 14595: Metadata refactoring revision: having LayoutMetadata return a NullMetadataSynthesizer so that child layout settings do not get copied to their parent .

    Revision: 14595
    Revision: 14595
    Author:   [email protected]
    Date:     2010-03-05 01:25:04 -0800 (Fri, 05 Mar 2010)
    Log Message:
    Metadata refactoring revision: having LayoutMetadata return a NullMetadataSynthesizer so that child layout settings do not get copied to their parent.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/layout/LayoutMetadata.as

    I've only encountered two instances where the PUT operation failed on certain files. One, the server does not like the particular file type, and two, when the file was open in another program.
    Other than that, I could only guess that it may have something else to do with the web server configuration and not DW.

  • Can I delete my children's devices and create their own ICloud? I didn't realize we would run out of room so quickly and accidently put all our devices together. :(

    Can I delete my children's devices and create their own ICloud? I didn't realize it wasn't a good idea to put us all on the same account.

    Just sign them out, then set up an Apple ID for each and use those to sign each device in.

  • I am unable to respond to the friends of their mes...

    I am unable to respond to the friends of their message. I get a message from them, but against them, so my friends do not seem to get it. What can I do? My friend from saying that I am not online even though I had all the time. What can I do?

    Hi and welcome to the Skype Community,
    Are you on the latest Skype 7.0 for Windows from www.skype.com/go/download ?
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • Is this possible? - Letting friends update their own info via automation

    I have recently graduated from school and I am trying to keep my address book up-to-date as my friends go their seperate ways. I was wondering if any one has any suggestions or tips for keeping their address book information both current but also complete. Here is one idea I had, but I am unsure if it is even possible:
    - Create a script or automation that sends out an email to a contact, whose email address I already have entered into their vCard. The script, using this address, will send this message and attach a copy of their vCard.They can then edit their own information, add their picture, phone numbers, addresses, personal info, etc. They then send the vCard back and a script updates the info.
    Details may need to be altered. Still this is the basic idea. Is it possible or, even better, is their an easier way to do this? I am flexible as to how but i wanted at least tell you my idea in order to better show what I am trying to do.
    Thank You,
    Rob

    What you're describing is possible, but you seem to be making this more difficult than it has to be. There's no reason why your friends can't just send you their vCard with this information to start with, then all you need to do is import that vCard into Address Book.
    Various email clients on both Mac and Windows, as well as web email services support the vCard format.
    Mulder

  • Can you find your friends or find my friends on to locate someone if you share the same ITunes account?

    Can you find your friends or find my friends on to locate someone if you share the same ITunes account?

    Any iOS device that shares the same iTunes account and has Find my Phone enabled under Settings > iCloud can be located using the Find my iPhone app or www.icloud.com.

  • I can't anymore locate one of my friends on find my friends app

    Since last friday, I can't anymore locate one of my friends on find my friends app. All my other friends can be located.
    I asked him if he turned the hide from followers tag on. He told me he didn't. He told me as well he didn't turn the location off.
    But he just told me that when he opens the find my friend app it opens and closes immediately.
    How is it possible to fix this problem?

    I personally would suggest to delete and re-download the app from the app store.

  • HT204407 How do I get Find My Friends to say my friends names instead of email as it did before the new iOS?

    How do I get Find My Friends to say my friends names instead of email as it did before the new iOS?

    Go to Settings > Privacy > Contacts and change the setting for "Find Friends" to "ON". That should also allow Find Friends to now access your contacts and dispaly names and photos.

  • Friends & Family Mobile AND Friends & Family Inter...

    I'm currently on the Unlimited Evening & Weekend Plan with Friends & Family Mobile and Friends & Family International. I'd like to upgrade my calling plan to the Unlimited Any Time Plan. However, I can't figure out how to retain both Friends & Family Mobile and Friends & Family International. If I try and change my calling plan online, if I select Unlimited Anytime Plan with Friends & Family Mobile, it offers me the option of International Freedom but not Friends & Family International. If I select Unlimited Anytime Plan with Friends & Family International, it doesn't offer me the option of Friends & Family Mobile. Is it possible to keep both Friends & Family Mobile and Friends & Family International?
    Solved!
    Go to Solution.

    Solved. If I select "View and change your calling plans & add-ons", it doesn't offer the option of keeping both, but if instead I select "Existing customer offer" from the banner add on the right hand side, it does. Must be a "feature"

  • HT201209 Want to set up my children's IPad's with their own Apple ID.  Trying to set up yahoo accounts and it will not allow me to do this.  I wan them only to be able to purchase from rdeemed gift cards but it keeps asking me to update credit card info

    Want to create Apple ID for both my children's IPad's.  Tried creating new email account for my son and it will not let me.  I want them to be only able to purchase from redeemed gift cards and everytime it asks me to update credit card info on their Ipad.

    Look, I understand I still need a card attached to the account. The problem is, it won't accept my card because I only have 87 cents in my bank account right now.
    If I had known there would be so much trouble with the iTunes card, I would have just put the cash in my bank account in the morning instead of buying an iTunes card (I didn't expect the banks to be open on Thanksgiving of course).
    Apple will only accept cards that have a balance. The balance is so small in my account that it won't accept it as a valid card.
    I'm going to have to contact Apple anyway to reset the security questions. That's obvious. Your answers were not exactly helpful. You didn't tell me anything I don't already know, but thanks for trying to be helpful.

Maybe you are looking for