Package org.fcrepo.client.actions

Examples of org.fcrepo.client.actions.ChangeObjectState


            add(i1);
            add(i2);
            add(i3);
            JMenu m1 = new JMenu("Set object state to");
            JMenuItem activeItem =
                    new JMenuItem(new ChangeObjectState(pid, "Active"));
            JMenuItem inactiveItem =
                    new JMenuItem(new ChangeObjectState(pid, "Inactive"));
            JMenuItem deletedItem =
                    new JMenuItem(new ChangeObjectState(pid, "Deleted"));
            m1.add(activeItem);
            m1.add(inactiveItem);
            m1.add(deletedItem);
            add(m1);
        }
View Full Code Here


            add(i1);
            add(i2);
            add(i3);
            JMenu m1 = new JMenu("Set object states to");
            JMenuItem activeItem =
                    new JMenuItem(new ChangeObjectState(pids, "Active"));
            JMenuItem inactiveItem =
                    new JMenuItem(new ChangeObjectState(pids, "Inactive"));
            JMenuItem deletedItem =
                    new JMenuItem(new ChangeObjectState(pids, "Deleted"));
            m1.add(activeItem);
            m1.add(inactiveItem);
            m1.add(deletedItem);
            add(m1);
        }
View Full Code Here

TOP

Related Classes of org.fcrepo.client.actions.ChangeObjectState

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.