Package com.arjuna.ats.tools.objectstorebrowser.panels

Examples of com.arjuna.ats.tools.objectstorebrowser.panels.ObjectStoreViewEntry


        AbstractRecord current = getList().peekFront();
        int count = 1;
        while ( current != null )
        {
            ListEntryNode entryNode;
            ObjectStoreViewEntry icon;
            node.createEntry(entryNode = new ListEntryNode("["+count+"] "+current.type(), current, current.type()));
            entryNode.setIconPanelEntry(icon = new ObjectStoreViewEntry(wrapper.type(), (String)entryNode.getUserObject(), entryNode));
            icon.addSelectionListener(this);
            current = getList().peekNext(current);
            count++;
        }
    }
View Full Code Here


        int count = 1;

        while ( current != null )
        {
            ListEntryNode entryNode;
            ObjectStoreViewEntry icon;
           
            node.createEntry(entryNode = new ListEntryNode("["+count+"] "+current.type(), current, current.type()));
            entryNode.setIconPanelEntry(icon = new ObjectStoreViewEntry(wrapper.type(), (String)entryNode.getUserObject(), entryNode));
            icon.addSelectionListener(this);
            current = getList().peekNext(current);
            count++;
        }
    }
View Full Code Here

        int i = 0;

        for (XAResourceInfo res : resources)
        {
            ListEntryNode entryNode = new ListEntryNode("[" + i++ + "] "+ res.getInstanceName(), res, "XA resource");
            ObjectStoreViewEntry icon = new ObjectStoreViewEntry(aaw.type(), entryNode.getUserObject().toString(), entryNode);

            node.createEntry(entryNode);
            entryNode.setIconPanelEntry(icon);
            icon.addSelectionListener(this);
        }
    }
View Full Code Here

        int i = 0;

        for (SynchronizationInfo si : aaw.getSynchronizationInfo())
        {
            ListEntryNode entryNode = new ListEntryNode("[" + i + "] " + si.getInstanceName(), si, "synchronisation");
            ObjectStoreViewEntry icon = new ObjectStoreViewEntry(aaw.type(), entryNode.getUserObject().toString(), entryNode);

            node.createEntry(entryNode);
            entryNode.setIconPanelEntry(icon);
            icon.addSelectionListener(this);

            i += 1;           
        }
    }
View Full Code Here

    {
        super.listExpanded(node);

        BasicActionInfo aaw = getAction();
        ListEntryNode entryNode = new ListEntryNode(aaw.get_uid(), aaw, getType());
        ObjectStoreViewEntry icon = new ObjectStoreViewEntry(aaw.type(), entryNode.getUserObject().toString(), entryNode);

        node.createEntry(entryNode);
        entryNode.setIconPanelEntry(icon);
        icon.addSelectionListener(this);
    }
View Full Code Here

        AbstractRecord current = aaw.getPreparedList().peekFront();
        int count = 1;
        while ( current != null )
        {
            ListEntryNode entryNode;
            ObjectStoreViewEntry icon;
            node.createEntry(entryNode = new ListEntryNode("["+count+"] "+current.type(), current, current.type()));
            entryNode.setIconPanelEntry(icon = new ObjectStoreViewEntry(aaw.type(), (String)entryNode.getUserObject(), entryNode));
            icon.addSelectionListener(this);
            current = aaw.getPreparedList().peekNext(current);
            count++;
        }
    }
View Full Code Here

        AbstractRecord current = aaw.getReadOnlyList().peekFront();
        int count = 1;
        while ( current != null )
        {
            ListEntryNode entryNode;
            ObjectStoreViewEntry icon;
            node.createEntry(entryNode = new ListEntryNode("["+count+"] "+current.type(), current, current.type()));
            entryNode.setIconPanelEntry(icon = new ObjectStoreViewEntry(aaw.type(), (String)entryNode.getUserObject(), entryNode));
            icon.addSelectionListener(this);
            current = aaw.getReadOnlyList().peekNext(current);
            count++;
        }
    }
View Full Code Here

        AbstractRecord current = aaw.getFailedList().peekFront();
        int count = 1;
        while ( current != null )
        {
            ListEntryNode entryNode;
            ObjectStoreViewEntry icon;
            node.createEntry(entryNode = new ListEntryNode("["+count+"] "+current.type(), current, current.type()));
            entryNode.setIconPanelEntry(icon = new ObjectStoreViewEntry(aaw.type(), (String)entryNode.getUserObject(), entryNode));
            icon.addSelectionListener(this);
            current = aaw.getFailedList().peekNext(current);
            count++;
        }
    }
View Full Code Here

        AbstractRecord current = aaw.getPendingList().peekFront();
        int count = 1;
        while ( current != null )
        {
            ListEntryNode entryNode;
            ObjectStoreViewEntry icon;
            node.createEntry(entryNode = new ListEntryNode("["+count+"] "+current.type(), current, current.type()));
            entryNode.setIconPanelEntry(icon = new ObjectStoreViewEntry(aaw.type(), (String)entryNode.getUserObject(), entryNode));
            icon.addSelectionListener(this);
            current = aaw.getPendingList().peekNext(current);
            count++;
        }
    }
View Full Code Here

        AbstractRecord current = aaw.getPreparedList().peekFront();
        int count = 1;
        while ( current != null )
        {
            ListEntryNode entryNode;
            ObjectStoreViewEntry icon;
            node.createEntry(entryNode = new ListEntryNode("["+count+"] "+current.type(), current, current.type()));
            entryNode.setIconPanelEntry(icon = new ObjectStoreViewEntry(aaw.type(), (String)entryNode.getUserObject(), entryNode));
            icon.addSelectionListener(this);
            current = aaw.getPreparedList().peekNext(current);
            count++;
        }
    }
View Full Code Here

TOP

Related Classes of com.arjuna.ats.tools.objectstorebrowser.panels.ObjectStoreViewEntry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.