From 5b0461119bfa2491b044234fcb327f7fb3ad11a7 Mon Sep 17 00:00:00 2001 From: alexsilaghi Date: Fri, 30 Aug 2024 15:51:33 +0300 Subject: [PATCH] removed extra code --- .../linearization/LinearizationPortletViewImpl.java | 10 +++++----- .../PostCoordinationPortletPresenter.java | 2 -- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/webprotege-gwt-ui-client/src/main/java/edu/stanford/bmir/protege/web/client/linearization/LinearizationPortletViewImpl.java b/webprotege-gwt-ui-client/src/main/java/edu/stanford/bmir/protege/web/client/linearization/LinearizationPortletViewImpl.java index 2c4c33b3b..390c7f032 100644 --- a/webprotege-gwt-ui-client/src/main/java/edu/stanford/bmir/protege/web/client/linearization/LinearizationPortletViewImpl.java +++ b/webprotege-gwt-ui-client/src/main/java/edu/stanford/bmir/protege/web/client/linearization/LinearizationPortletViewImpl.java @@ -279,11 +279,11 @@ private void addCommentsHeader(String headerText, int column) { private void initializeTableHeader() { addHeaderCell("Linearization", 0); - addCheckboxHeaderCell("Is part of?", 1); - addCheckboxHeaderCell("Is grouping?",2); - addCheckboxHeaderCell("Aux.ax.child?", 3); - addWideHeaderCell("Linearization parent", 4); - addCommentsHeader("Coding notes", 5); + addCheckboxHeaderCell("Is Part Of?", 1); + addCheckboxHeaderCell("Is Grouping?",2); + addCheckboxHeaderCell("Aux.Ax.Child?", 3); + addWideHeaderCell("Linearization Path Parent", 4); + addCommentsHeader("Coding Notes", 5); flexTable.getRowFormatter().addStyleName(0, style.getLinearizationHeader()); } diff --git a/webprotege-gwt-ui-client/src/main/java/edu/stanford/bmir/protege/web/client/postcoordination/PostCoordinationPortletPresenter.java b/webprotege-gwt-ui-client/src/main/java/edu/stanford/bmir/protege/web/client/postcoordination/PostCoordinationPortletPresenter.java index e21132229..9226c741e 100644 --- a/webprotege-gwt-ui-client/src/main/java/edu/stanford/bmir/protege/web/client/postcoordination/PostCoordinationPortletPresenter.java +++ b/webprotege-gwt-ui-client/src/main/java/edu/stanford/bmir/protege/web/client/postcoordination/PostCoordinationPortletPresenter.java @@ -65,8 +65,6 @@ public void startPortlet(PortletUi portletUi, WebProtegeEventBus eventBus) { portletUi.setWidget(view.asWidget()); setDisplaySelectedEntityNameAsSubtitle(true); - portletUi.setWidget(view.asWidget()); - setDisplaySelectedEntityNameAsSubtitle(true); dispatch.execute(GetPostCoordinationTableConfigurationAction.create("ICD"), result -> { Map labels = new HashMap<>();