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 e8a3e989a474ea6777b5386b92cc97ecf65a5e95..0fe7da90d9c0f08f79357684e26746dd0398c1ff 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 3cc353ad2937266788c8909c691a2102d9a8db1f..fb3daa8c637a3eda47e5017d420175228f90f722 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) {