org.protege.editor.core.ui.view.View.setShowViewBar()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(2.4k)|赞(0)|评价(0)|浏览(145)

本文整理了Java中org.protege.editor.core.ui.view.View.setShowViewBar()方法的一些代码示例,展示了View.setShowViewBar()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。View.setShowViewBar()方法的具体详情如下:
包路径:org.protege.editor.core.ui.view.View
类名称:View
方法名:setShowViewBar

View.setShowViewBar介绍

暂无

代码示例

代码示例来源:origin: edu.stanford.protege/org.protege.editor.owl

protected void initialiseOWLView() throws Exception {
  setLayout(new BorderLayout());
  cardPanel = new JPanel();
  add(cardPanel);
  cardPanel.setLayout(cardLayout);
  cardPanel.add(new JPanel(), BLANK_PANEL);
  createViewPanes(false);
  getOWLWorkspace().getOWLSelectionModel().addListener(new OWLSelectionModelListener() {
    public void selectionChanged() throws Exception {
      processSelection();
    }
  });
  getView().setShowViewBar(false);
  processSelection();
}

代码示例来源:origin: org.protege/protege-editor-owl

protected void initialiseOWLView() throws Exception {
  setLayout(new BorderLayout());
  cardPanel = new JPanel();
  add(cardPanel);
  cardPanel.setLayout(cardLayout);
  cardPanel.add(new JPanel(), BLANK_PANEL);
  createViewPanes(false);
  getOWLWorkspace().getOWLSelectionModel().addListener(new OWLSelectionModelListener() {
    public void selectionChanged() throws Exception {
      processSelection();
    }
  });
  getView().setShowViewBar(false);
  processSelection();
}

代码示例来源:origin: edu.stanford.protege/protege-editor-owl

protected void initialiseOWLView() throws Exception {
  setLayout(new BorderLayout());
  entityBannerFormatter = new EntityBannerFormatterImpl();
  entityIRILabel = new JLabel();
  entityIRILabel.setBorder(BorderFactory.createEmptyBorder(1, 4, 3, 0));
  add(entityIRILabel, BorderLayout.NORTH);
  add(cardPanel);
  cardPanel.setLayout(cardLayout);
  cardPanel.add(new NothingSelectedPanel(), BLANK_PANEL);
  createViewPanes(false);
  getOWLWorkspace().getOWLSelectionModel().addListener(this::processSelection);
  getView().setShowViewBar(false);
  processSelection();
}

代码示例来源:origin: protegeproject/protege

protected void initialiseOWLView() throws Exception {
  entityBannerPresenter = new EntityBannerPresenter(new EntityBannerViewImpl(), getOWLEditorKit());
  entityBannerPresenter.getView().setBorder(BorderFactory.createEmptyBorder(0, 0, 1, 0));
  setLayout(new BorderLayout());
  add(entityBannerPresenter.getView(), NORTH);
  add(cardPanel);
  cardPanel.setLayout(cardLayout);
  cardPanel.add(new NothingSelectedPanel(), BLANK_PANEL);
  createViewPanes(false);
  getOWLWorkspace().getOWLSelectionModel().addListener(this::processSelection);
  getView().setShowViewBar(false);
  processSelection();
  entityBannerPresenter.start();
}

相关文章