Package com.arjuna.ats.tools.objectstorebrowser.stateviewers.viewers.arjunatransaction

Examples of com.arjuna.ats.tools.objectstorebrowser.stateviewers.viewers.arjunatransaction.ArjunaTransactionWrapper


    public void iconSelected(IconPanelEntry icon, boolean selected)
    {
        /** Populate panel with details of this list **/
        StatePanel panel = BrowserFrame.getStatePanel();
        final ReadOnlyListNode node = (ReadOnlyListNode)getNode();
        ArjunaTransactionWrapper aaw = (ArjunaTransactionWrapper)node.getAssObject();
        panel.clear();
        panel.setType(getTypeName());
        panel.setInfo(aaw.getReadOnlyList().size()+" entries");
        panel.enableDetailsButton(new DetailsButtonAdapter() {
            public void detailsButtonPressed()
            {
                TreePath path = new TreePath(BrowserFrame.getTreeModel().getPathToRoot(node));
                BrowserFrame.getTree().expandPath(path);
View Full Code Here


    public void iconSelected(IconPanelEntry icon, boolean selected)
    {
        /** Populate panel with details of this list **/
        StatePanel panel = BrowserFrame.getStatePanel();
        final PreparedListNode node = (PreparedListNode)getNode();
        ArjunaTransactionWrapper aaw = (ArjunaTransactionWrapper)node.getAssObject();
        panel.clear();
        panel.setType(getTypeName());
        panel.setInfo(aaw.getPreparedList().size()+" entries");
        panel.enableDetailsButton(new DetailsButtonAdapter() {
            public void detailsButtonPressed()
            {
                TreePath path = new TreePath(BrowserFrame.getTreeModel().getPathToRoot(node));
                BrowserFrame.getTree().expandPath(path);
View Full Code Here

    public void iconSelected(IconPanelEntry icon, boolean selected)
    {
        /** Populate panel with details of this list **/
        StatePanel panel = BrowserFrame.getStatePanel();
        final FailedListNode node = (FailedListNode)getNode();
        ArjunaTransactionWrapper ba = (ArjunaTransactionWrapper)node.getAssObject();
        panel.clear();
        panel.setType(getTypeName());
        panel.setInfo(ba.getFailedList().size()+" entries");
        panel.enableDetailsButton(new DetailsButtonAdapter() {
            public void detailsButtonPressed()
            {
                TreePath path = new TreePath(BrowserFrame.getTreeModel().getPathToRoot(node));
                BrowserFrame.getTree().expandPath(path);
View Full Code Here

    public void iconSelected(IconPanelEntry icon, boolean selected)
    {
        /** Populate panel with details of this list **/
        StatePanel panel = BrowserFrame.getStatePanel();
        final HeuristicListNode node = (HeuristicListNode)getNode();
        ArjunaTransactionWrapper aaw = (ArjunaTransactionWrapper)node.getAssObject();
        panel.clear();
        panel.setType(getTypeName());
        panel.setInfo(aaw.getHeuristicList().size()+" entries");
        panel.enableDetailsButton(new DetailsButtonAdapter() {
            public void detailsButtonPressed()
            {
                TreePath path = new TreePath(BrowserFrame.getTreeModel().getPathToRoot(node));
                BrowserFrame.getTree().expandPath(path);
View Full Code Here

    public void iconSelected(IconPanelEntry icon, boolean selected)
    {
        /** Populate panel with details of this list **/
        StatePanel panel = BrowserFrame.getStatePanel();
        final PendingListNode node = (PendingListNode)getNode();
        ArjunaTransactionWrapper aaw = (ArjunaTransactionWrapper)node.getAssObject();
        panel.clear();
        panel.setType(getTypeName());
        panel.setInfo(aaw.getPendingList().size()+" entries");
        panel.enableDetailsButton(new DetailsButtonAdapter() {
            public void detailsButtonPressed()
            {
                TreePath path = new TreePath(BrowserFrame.getTreeModel().getPathToRoot(node));
                BrowserFrame.getTree().expandPath(path);
View Full Code Here

     */
    public void listExpanded(ListNode node)
    {
        super.listExpanded(node);

        ArjunaTransactionWrapper aaw = (ArjunaTransactionWrapper)this.getAssObject();
        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

     */
    public void listExpanded(ListNode node)
    {
        super.listExpanded(node);

        ArjunaTransactionWrapper aaw = (ArjunaTransactionWrapper)this.getAssObject();
        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

     */
    public void listExpanded(ListNode node)
    {
        super.listExpanded(node);

        ArjunaTransactionWrapper aaw = (ArjunaTransactionWrapper)this.getAssObject();
        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

     */
    public void listExpanded(ListNode node)
    {
        super.listExpanded(node);

        ArjunaTransactionWrapper aaw = (ArjunaTransactionWrapper)this.getAssObject();
        AbstractRecord current = aaw.getHeuristicList().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.getHeuristicList().peekNext(current);
            count++;
        }
    }
View Full Code Here

     */
    public void listExpanded(ListNode node)
    {
        super.listExpanded(node);

        ArjunaTransactionWrapper aaw = (ArjunaTransactionWrapper)this.getAssObject();
        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

TOP

Related Classes of com.arjuna.ats.tools.objectstorebrowser.stateviewers.viewers.arjunatransaction.ArjunaTransactionWrapper

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.