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

Examples of com.arjuna.ats.tools.objectstorebrowser.panels.StatePanel.enableDetailsButton()


        final ReadOnlyListNode node = (ReadOnlyListNode)getNode();
        AtomicActionWrapper aaw = (AtomicActionWrapper)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);
                BrowserFrame.getTree().setSelectionPath(path);
View Full Code Here


        final PreparedListNode node = (PreparedListNode)getNode();
        AtomicActionWrapper aaw = (AtomicActionWrapper)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);
                BrowserFrame.getTree().setSelectionPath(path);
View Full Code Here

        final FailedListNode node = (FailedListNode)getNode();
        AtomicActionWrapper aaw = (AtomicActionWrapper)node.getAssObject();
        panel.clear();
        panel.setType(getTypeName());
        panel.setInfo(aaw.getFailedList().size()+" entries");
        panel.enableDetailsButton(new DetailsButtonAdapter() {
            public void detailsButtonPressed()
            {
                TreePath path = new TreePath(BrowserFrame.getTreeModel().getPathToRoot(node));
                BrowserFrame.getTree().expandPath(path);
                BrowserFrame.getTree().setSelectionPath(path);
View Full Code Here

        final PendingListNode node = (PendingListNode)getNode();
        AtomicActionWrapper aaw = (AtomicActionWrapper)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);
                BrowserFrame.getTree().setSelectionPath(path);
View Full Code Here

        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);
                BrowserFrame.getTree().setSelectionPath(path);
View Full Code Here

        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);
                BrowserFrame.getTree().setSelectionPath(path);
View Full Code Here

        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);
                BrowserFrame.getTree().setSelectionPath(path);
View Full Code Here

        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);
                BrowserFrame.getTree().setSelectionPath(path);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.