public DataPanelContainer(TrackPanel trackPanel) {
    super(trackPanel);

    DropTarget target = new DropTarget(this, new FileDropTargetListener(trackPanel));
    setDropTarget(target);
    target.setActive(true);
    this.setLayout(new DataPanelLayout());
    this.parent = trackPanel;
    createDataPanels();
  }
Beispiel #2
0
  public void initialiseClassView() throws Exception {
    loadProperties();

    options = new OWLVizViewOptions(); // options specific to this view

    selectionModel = new OWLVizSelectionModel();
    setupExportFormats();
    closableTabs = new HashSet();
    componentGroupMap = new HashMap<OWLVizGraphPanel, List<GraphComponent>>();
    graphComponents = new HashSet<GraphComponent>();
    createOWLVizTabUI();

    DropTarget dt = new DropTarget(this, this);
    dt.setActive(true);
  }