Package org.sleuthkit.autopsy.corecomponentinterfaces

Examples of org.sleuthkit.autopsy.corecomponentinterfaces.DataContentViewer


        initComponents();
       
        // add all implementors of DataContentViewer and put them in the tabbed pane
        Collection<? extends DataContentViewer> dcvs = Lookup.getDefault().lookupAll(DataContentViewer.class);
        for (DataContentViewer factory : dcvs) {
            DataContentViewer dcv;
            if (isMain) {
                //use the instance from Lookup for the main viewer
                dcv = factory;
            }
            else {
                dcv = factory.createInstance();
            }
            viewers.add(new UpdateWrapper(dcv));
            jTabbedPane1.addTab(dcv.getTitle(), null,
                    dcv.getComponent(), dcv.getToolTip());
        }
       
        // disable the tabs
        int numTabs = jTabbedPane1.getTabCount();
        for (int tab = 0; tab < numTabs; ++tab) {
View Full Code Here

TOP

Related Classes of org.sleuthkit.autopsy.corecomponentinterfaces.DataContentViewer

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.