Package org.apache.ojb.tools.mapping.reversedb2.ojbmetatreemodel

Examples of org.apache.ojb.tools.mapping.reversedb2.ojbmetatreemodel.OjbMetaObjectReferenceDescriptorNode


            {
                try
                {
                    // RepositoryPersistor persistor = new RepositoryPersistor ();
                    DescriptorRepository repository = new DescriptorRepository();
                    JIFrmOJBRepository frm = new JIFrmOJBRepository(repository);
                    containingFrame.getContentPane().add(frm);
                    frm.setVisible(true);
                }
                catch (Throwable t)
                {
                    t.printStackTrace();
                }
View Full Code Here


                {
                    try
                    {
                        RepositoryPersistor persistor = new RepositoryPersistor ();
                        DescriptorRepository repository = persistor.readDescriptorRepository(selectedFile.getCanonicalPath());
                        JIFrmOJBRepository frm = new JIFrmOJBRepository(repository);
                        containingFrame.getContentPane().add(frm);
                        frm.setVisible(true);
                    }
                    catch (Throwable t)
                    {
                        t.printStackTrace();
                    }
View Full Code Here

                {
                    try
                    {
                        RepositoryPersistor persistor = new RepositoryPersistor ();
                        DescriptorRepository repository = persistor.readDescriptorRepository(selectedFile.getCanonicalPath());
                        JIFrmOJBRepository frm = new JIFrmOJBRepository(repository);
                        containingFrame.getContentPane().add(frm);
                        frm.setVisible(true);
                    }
                    catch (Throwable t)
                    {
                        t.printStackTrace();
                    }
View Full Code Here

            {
                try
                {
                    // RepositoryPersistor persistor = new RepositoryPersistor ();
                    DescriptorRepository repository = new DescriptorRepository();
                    JIFrmOJBRepository frm = new JIFrmOJBRepository(repository);
                    containingFrame.getContentPane().add(frm);
                    frm.setVisible(true);
                }
                catch (Throwable t)
                {
                    t.printStackTrace();
                }
View Full Code Here

        this.setDropTarget(helper.getDropTarget());
*/
        // this.jScrollPane1.setDropTarget(helper.getDropTarget());
//        this.jSplitPane1.setDropTarget(helper.getDropTarget());
       
        new DragHelper(new OjbMetaTreeNodesDragWorker()).registerComponent(jTree1);
       
        setJMenuBar(this.jMenuBar1);
        pack();
    }
View Full Code Here

        this.setDropTarget(helper.getDropTarget());
*/
        // this.jScrollPane1.setDropTarget(helper.getDropTarget());
//        this.jSplitPane1.setDropTarget(helper.getDropTarget());
       
        new DragHelper(new OjbMetaTreeNodesDragWorker()).registerComponent(jTree1);
       
        setJMenuBar(this.jMenuBar1);
        pack();
    }
View Full Code Here

    {
        this.aRepository = repository;
        initComponents();
        jTree1.setModel(new org.apache.ojb.tools.mapping.reversedb2.ojbmetatreemodel.OjbMetaDataTreeModel(repository));
        DropTargetHelper helper = new DropTargetHelper();
        helper.registerDropPasteWorker (new ReverseDbNodesToOjbMetaDropWorker());
        jTree1.setDropTarget(helper.getDropTarget ());
/*        getGlassPane().setDropTarget(helper.getDropTarget());
        this.setDropTarget(helper.getDropTarget());
*/
        // this.jScrollPane1.setDropTarget(helper.getDropTarget());
View Full Code Here

    {
        this.aRepository = repository;
        initComponents();
        jTree1.setModel(new org.apache.ojb.tools.mapping.reversedb2.ojbmetatreemodel.OjbMetaDataTreeModel(repository));
        DropTargetHelper helper = new DropTargetHelper();
        helper.registerDropPasteWorker (new ReverseDbNodesToOjbMetaDropWorker());
        jTree1.setDropTarget(helper.getDropTarget ());
/*        getGlassPane().setDropTarget(helper.getDropTarget());
        this.setDropTarget(helper.getDropTarget());
*/
        // this.jScrollPane1.setDropTarget(helper.getDropTarget());
View Full Code Here

                {
                    if(!this.hmPropertyEditors.containsKey(p.getPropertyEditorClass()))
                    {
                        this.hmPropertyEditors.put(p.getPropertyEditorClass(), p.getPropertyEditorClass().newInstance());
                    }
                    PropertyEditor propertyEditor = (PropertyEditor)hmPropertyEditors.get(p.getPropertyEditorClass());
                    this.jScrlProperty.setViewportView(propertyEditor);
                    propertyEditor.setEditorTarget(p);
                }
                catch (Throwable t)
                {
                    t.printStackTrace();
                    this.jScrlProperty.setViewportView(null);
View Full Code Here

                {
                    if(!this.hmPropertyEditors.containsKey(p.getPropertyEditorClass()))
                    {
                        this.hmPropertyEditors.put(p.getPropertyEditorClass(), p.getPropertyEditorClass().newInstance());
                    }
                    PropertyEditor propertyEditor = (PropertyEditor)hmPropertyEditors.get(p.getPropertyEditorClass());
                    this.jScrlProperty.setViewportView(propertyEditor);
                    propertyEditor.setEditorTarget(p);
                }
                catch (Throwable t)
                {
                    t.printStackTrace();
                    this.jScrlProperty.setViewportView(null);
View Full Code Here

TOP

Related Classes of org.apache.ojb.tools.mapping.reversedb2.ojbmetatreemodel.OjbMetaObjectReferenceDescriptorNode

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.