Package net.sourceforge.squirrel_sql.fw.datasetviewer

Examples of net.sourceforge.squirrel_sql.fw.datasetviewer.HashtableDataSet


      setLayout(new BorderLayout());
      DataSetViewerTablePanel propsPnl = new DataSetViewerTablePanel();
      propsPnl.init(null);
      try
      {
        propsPnl.show(new HashtableDataSet(System.getProperties()));
      }
      catch (DataSetException ex)
      {
                // i18n[AboutBoxDialog.error.systemprops=Error occured displaying System Properties]
        s_log.error(s_stringMgr.getString("AboutBoxDialog.error.systemprops"), ex);
View Full Code Here


      // Dump System Properties.
      try
      {
        File tempFile = File.createTempFile(PREFIX, SUFFIX);
        IDataSetViewer dest = new DataSetViewerTextFileDestination(tempFile);
        dest.show(new HashtableDataSet(System.getProperties()));
        files.add(tempFile);
        //i18n[DumpApplicationCommand.title.systemprops=System Properties]
        titles.add(s_stringMgr.getString("DumpApplicationCommand.title.systemprops"));
      }
      catch (Throwable th)
View Full Code Here

            {
               _detailPanel.tblDetails.show(new EmptyDataSet());
            }
            else
            {
               _detailPanel.tblDetails.show(new HashtableDataSet(root.getMappingProperties()));
            }
         }
         else if (userObject instanceof MappedClassInfoTreeWrapper)
         {
            MappedClassInfoTreeWrapper mappedClassInfoTreeWrapper = (MappedClassInfoTreeWrapper) userObject;
            MappedClassInfo mci = mappedClassInfoTreeWrapper.getMappedClassInfo();
            DetailAttribute[] attributes = DetailAttribute.createDetailtAttributes(mci.getAttributes());
            _detailPanel.tblDetails.show(new DetailAttributeDataSet(attributes));
         }
         else if(userObject instanceof PropertyInfoTreeWrapper)
         {
            PropertyInfoTreeWrapper propertyInfoTreeWrapper = (PropertyInfoTreeWrapper) userObject;
            _detailPanel.tblDetails.show(new HashtableDataSet(propertyInfoTreeWrapper.getMappingProperties()));
         }
      }
      catch (DataSetException e)
      {
         throw new RuntimeException(e);
View Full Code Here

TOP

Related Classes of net.sourceforge.squirrel_sql.fw.datasetviewer.HashtableDataSet

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.