Package org.fcrepo.client.actions

Examples of org.fcrepo.client.actions.ViewObject


                                    .ingestAndCommit(Administrator.APIA,
                                                     Administrator.APIM,
                                                     in,
                                                     FOXML1_1.uri,
                                                     "Created with Admin GUI \"New Object\" command");
                    new ViewObject(newPID).launch();
                }
            } catch (Exception e) {
                String msg = e.getMessage();
                if (msg == null) {
                    msg = e.getClass().getName();
View Full Code Here


                    if (e.getClickCount() == 2) {
                        int rowNum =
                                m_table.rowAtPoint(new Point(e.getX(), e.getY()));
                        if (rowNum >= 0) {
                            // launch object viewer to view object
                            new ViewObject(m_rowPids[rowNum]).launch();
                        }
                    }
                }

                @Override
View Full Code Here

        private static final long serialVersionUID = 1L;

        public SingleSelectionPopup(String pid) {
            super();
            JMenuItem i0 = new JMenuItem(new ViewObject(pid));
            i0.setMnemonic(KeyEvent.VK_O);
            i0.setToolTipText("Launches a viewer for the selected object.");
            JMenuItem i1 = new JMenuItem(new ViewObjectXML(pid));
            i1.setMnemonic(KeyEvent.VK_V);
            i1.setToolTipText("Launches an XML viewer for the selected object.");
View Full Code Here

        private static final long serialVersionUID = 1L;

        public MultiSelectionPopup(Set pids) {
            super();
            JMenuItem i0 = new JMenuItem(new ViewObject(pids));
            i0.setMnemonic(KeyEvent.VK_O);
            i0.setToolTipText("Launches a viewer for the selected objects.");
            JMenuItem i1 = new JMenuItem(new ViewObjectXML(pids));
            i1.setMnemonic(KeyEvent.VK_V);
            i1.setToolTipText("Launches an XML viewer for the selected objects.");
View Full Code Here

        fileNew.add(fileNewCModel);
        fileNew.add(fileNewSDef);
        fileNew.add(fileNewSDep);

        //   [O]pen
        JMenuItem fileOpen = new JMenuItem(new ViewObject());
        fileOpen.setMnemonic(KeyEvent.VK_O);
        fileOpen.setToolTipText("Launches a viewer/editor for an object and it's components.");
        fileOpen.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_O,
                                                       ActionEvent.CTRL_MASK));
View Full Code Here

TOP

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

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.