Package com.arjuna.ats.tools.objectstorebrowser.rootprovider

Examples of com.arjuna.ats.tools.objectstorebrowser.rootprovider.ObjectStoreRootProvider


        JComponent sp = getSearchPanel();
        gbc.gridx = 0; gbc.gridy = 1; gbc.fill = GridBagConstraints.BOTH; gbc.weighty = 0;
        gbl.addLayoutComponent(sp,gbc);
        treePanel.add(sp);

        ObjectStoreRootProvider provider = ObjectStoreBrowserPlugin.getRootProvider();

        /** Create object store **/
        if ( provider == null || provider.getRoots().isEmpty() )
        {
            JOptionPane.showMessageDialog(this, "No object store roots found, object store is empty", "Error", JOptionPane.WARNING_MESSAGE);
            dispose();
        }
        else
        {
            String rootStr = (String)provider.getRoots().firstElement();

            _objectStore = new ObjectStore(new ClassName(rootStr));

            _treeModel = new DefaultTreeModel(createTree());
            _tree = new JTree(_treeModel);
View Full Code Here


        gbc.fill = GridBagConstraints.NONE;
        gbc.weighty = 0;
        gbl.addLayoutComponent(_rootCombo,gbc);
        treePanel.add(_rootCombo);

        ObjectStoreRootProvider provider = ObjectStoreBrowserPlugin.getRootProvider();

        /** Create object store **/
        if ( provider == null || provider.getRoots().isEmpty() )
        {
            JOptionPane.showMessageDialog(this, "No object store roots found, object store is empty", "Warning", JOptionPane.WARNING_MESSAGE);
            dispose();
        }
        else
        {
            String rootStr = (String)provider.getRoots().firstElement();

            _objectStore = new ObjectStore(new ClassName(rootStr));

            _treeModel = new DefaultTreeModel(createTree());
            _tree = new JTree(_treeModel);
View Full Code Here

TOP

Related Classes of com.arjuna.ats.tools.objectstorebrowser.rootprovider.ObjectStoreRootProvider

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.