From 5f0381bd596dd6f248297c888e4f55001ccea198 Mon Sep 17 00:00:00 2001 From: Kunal Shroff Date: Mon, 14 Oct 2024 10:58:43 -0400 Subject: [PATCH] Remove the unused (likely never to be used) logging config toolbar impl --- .../LoggingConfigurationToolbarEntry.java | 40 ------------------- 1 file changed, 40 deletions(-) delete mode 100644 app/log-configuration/src/main/java/org/phoebus/applications/utility/LoggingConfigurationToolbarEntry.java diff --git a/app/log-configuration/src/main/java/org/phoebus/applications/utility/LoggingConfigurationToolbarEntry.java b/app/log-configuration/src/main/java/org/phoebus/applications/utility/LoggingConfigurationToolbarEntry.java deleted file mode 100644 index c7427b3a8..000000000 --- a/app/log-configuration/src/main/java/org/phoebus/applications/utility/LoggingConfigurationToolbarEntry.java +++ /dev/null @@ -1,40 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2017 Oak Ridge National Laboratory. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - *******************************************************************************/ -package org.phoebus.applications.utility; - -import org.phoebus.framework.workbench.ApplicationService; -import org.phoebus.ui.spi.ToolbarEntry; - -/** - * Toolbar entry that starts LoggingConfiguration - * - * @author Kunal Shroff - */ -// @ProviderFor(ToolbarEntry.class) -public class LoggingConfigurationToolbarEntry implements ToolbarEntry { - - @Override - public String getName() { - return LoggingConfigurationApplication.DISPLAY_NAME; - } - - @Override - public Void call() throws Exception { - ApplicationService.createInstance(LoggingConfigurationApplication.NAME); - return null; - } - - /** - * DO NOT CHANGE RETURN VALUE! - * @return The unique id of this {@link ToolbarEntry}. - */ - @Override - public String getId(){ - return "Logging Config"; - } -}