From 6d9a19bcbf03ddfa80b642bff6ce5133b2fd8b53 Mon Sep 17 00:00:00 2001 From: Johannes Eder <eder@fortiss.org> Date: Mon, 20 Jul 2020 17:40:00 +0200 Subject: [PATCH] removed unused code Issue-Ref: 4043 Issue-Url: https://af3-developer.fortiss.org/issues/4043 Signed-off-by: Johannes Eder <eder@fortiss.org> --- .../library/LibraryTreeContentProvider.java | 2 +- .../views/library/LibraryViewPart.java | 20 +------------------ 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/org.fortiss.tooling.kernel.ui/src/org/fortiss/tooling/kernel/ui/internal/views/library/LibraryTreeContentProvider.java b/org.fortiss.tooling.kernel.ui/src/org/fortiss/tooling/kernel/ui/internal/views/library/LibraryTreeContentProvider.java index e8a3e989a..0fe7da90d 100644 --- a/org.fortiss.tooling.kernel.ui/src/org/fortiss/tooling/kernel/ui/internal/views/library/LibraryTreeContentProvider.java +++ b/org.fortiss.tooling.kernel.ui/src/org/fortiss/tooling/kernel/ui/internal/views/library/LibraryTreeContentProvider.java @@ -31,7 +31,7 @@ import org.fortiss.tooling.kernel.ui.service.IModelElementHandlerService; /** * Content provider for the model navigator tree viewer. * - * @author hoelzlf + * @author eder */ public class LibraryTreeContentProvider extends TreeContentProviderBase { diff --git a/org.fortiss.tooling.kernel.ui/src/org/fortiss/tooling/kernel/ui/internal/views/library/LibraryViewPart.java b/org.fortiss.tooling.kernel.ui/src/org/fortiss/tooling/kernel/ui/internal/views/library/LibraryViewPart.java index 3cc353ad2..fb3daa8c6 100644 --- a/org.fortiss.tooling.kernel.ui/src/org/fortiss/tooling/kernel/ui/internal/views/library/LibraryViewPart.java +++ b/org.fortiss.tooling.kernel.ui/src/org/fortiss/tooling/kernel/ui/internal/views/library/LibraryViewPart.java @@ -25,7 +25,6 @@ import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; import org.eclipse.emf.ecore.EObject; -import org.eclipse.jface.action.Action; import org.eclipse.jface.action.MenuManager; import org.eclipse.jface.viewers.DecoratingLabelProvider; import org.eclipse.jface.viewers.ISelection; @@ -40,7 +39,6 @@ import org.eclipse.swt.graphics.Image; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Menu; import org.eclipse.ui.IDecoratorManager; -import org.eclipse.ui.IPartListener2; import org.eclipse.ui.ISaveablePart; import org.eclipse.ui.ISaveablesSource; import org.eclipse.ui.ISelectionListener; @@ -71,6 +69,7 @@ import org.fortiss.tooling.kernel.ui.util.SelectionUtils; * {@link ViewPart} of the model navigator provided by the tooling kernel. * * @author hoelzl + * @authot eder */ public final class LibraryViewPart extends ViewPart implements ISelectionListener, ISelectionChangedListener, ITabbedPropertySheetPageContributor, ContextMenuContextProvider, @@ -82,18 +81,6 @@ public final class LibraryViewPart extends ViewPart implements ISelectionListene /** Stores the menu manager. */ private MenuManager menuManager; - /** Stores the part listener for editor link support. */ - private IPartListener2 partListener; - - /** Stores the toggle action flag for editor linkage. */ - private boolean isLinkedWithEditor = false; - - /** Stores the toggle action for editor linkage. */ - private Action linkWithEditorAction = null; - - /** Dialog setting ID for the link with editor action flag. */ - private static final String LINK_WITH_EDITOR_FLAG = "navigatorSettingLinkWithEditor"; - /** Element used to ensure that the selection of the {@link LibraryViewPart} is not empty. */ private EObject backupElementToBeSelected; @@ -142,11 +129,6 @@ public final class LibraryViewPart extends ViewPart implements ISelectionListene } }; - // /** Constructor. */ - // public LibraryViewPart() { - // ((NavigatorService)INavigatorService.getInstance()).setNavigatorViewPart(this); - // } - /** {@inheritDoc} */ @Override public void createPartControl(Composite parent) { -- GitLab