diff options
author | Michael Rennie | 2011-05-05 16:13:14 +0000 |
---|---|---|
committer | Michael Rennie | 2011-05-05 16:13:14 +0000 |
commit | aba39fdfa424d2163b08cb228455e785efa0b92f (patch) | |
tree | 6569d9fcf55a75dbf54d724860c3533f9a73d31c /org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements | |
parent | 52a7179f749eee503973209f024e02122d3d7d0c (diff) | |
download | eclipse.platform.debug-aba39fdfa424d2163b08cb228455e785efa0b92f.tar.gz eclipse.platform.debug-aba39fdfa424d2163b08cb228455e785efa0b92f.tar.xz eclipse.platform.debug-aba39fdfa424d2163b08cb228455e785efa0b92f.zip |
Copyright updates
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements')
3 files changed, 76 insertions, 76 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/DefaultBreakpointsViewInput.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/DefaultBreakpointsViewInput.java index 27a161a3a..a525bdf95 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/DefaultBreakpointsViewInput.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/DefaultBreakpointsViewInput.java @@ -1,74 +1,74 @@ -/*****************************************************************
- * Copyright (c) 2009 Texas Instruments and others
- * 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
- *
- * Contributors:
- * Patrick Chuong (Texas Instruments) - Initial API and implementation (Bug 238956)
- * Wind River Systems - ongoing enhancements and bug fixing
- *****************************************************************/
-package org.eclipse.debug.internal.ui.elements.adapters;
-
-import org.eclipse.debug.internal.ui.viewers.model.provisional.IPresentationContext;
-
-/**
- * The default breakpoints view input populates the view with content
- * from the default breakpoint manager.
- *
- * @since 3.6
- */
-public class DefaultBreakpointsViewInput {
-
- /**
- * The presentation context of the breakpoints view.
- */
- final private IPresentationContext fContext;
-
- /**
- * Constructor.
- *
- * @param context the presentation context for this input
- */
- public DefaultBreakpointsViewInput(IPresentationContext context) {
- fContext = context;
- }
-
- /**
- * Returns the presentation context for this input.
- *
- * @return the presentation context
- */
- public IPresentationContext getContext() {
- return fContext;
- }
-
- /*
- * (non-Javadoc)
- * @see java.lang.Object#hashCode()
- */
- public int hashCode() {
- if (getContext() != null) {
- return getContext().hashCode();
- } else {
- return 1;
- }
- }
-
- /*
- * (non-Javadoc)
- * @see java.lang.Object#equals(java.lang.Object)
- */
- public boolean equals(Object arg0) {
- if ( (arg0 != null) && arg0.getClass().equals(this.getClass()) ) {
-
- IPresentationContext context = ((DefaultBreakpointsViewInput) arg0).getContext();
- if (getContext() != null && context != null)
- return getContext().equals(context);
- }
-
- return super.equals(arg0);
- }
-
-}
+/***************************************************************** + * Copyright (c) 2009, 2010 Texas Instruments and others + * 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 + * + * Contributors: + * Patrick Chuong (Texas Instruments) - Initial API and implementation (Bug 238956) + * Wind River Systems - ongoing enhancements and bug fixing + *****************************************************************/ +package org.eclipse.debug.internal.ui.elements.adapters; + +import org.eclipse.debug.internal.ui.viewers.model.provisional.IPresentationContext; + +/** + * The default breakpoints view input populates the view with content + * from the default breakpoint manager. + * + * @since 3.6 + */ +public class DefaultBreakpointsViewInput { + + /** + * The presentation context of the breakpoints view. + */ + final private IPresentationContext fContext; + + /** + * Constructor. + * + * @param context the presentation context for this input + */ + public DefaultBreakpointsViewInput(IPresentationContext context) { + fContext = context; + } + + /** + * Returns the presentation context for this input. + * + * @return the presentation context + */ + public IPresentationContext getContext() { + return fContext; + } + + /* + * (non-Javadoc) + * @see java.lang.Object#hashCode() + */ + public int hashCode() { + if (getContext() != null) { + return getContext().hashCode(); + } else { + return 1; + } + } + + /* + * (non-Javadoc) + * @see java.lang.Object#equals(java.lang.Object) + */ + public boolean equals(Object arg0) { + if ( (arg0 != null) && arg0.getClass().equals(this.getClass()) ) { + + IPresentationContext context = ((DefaultBreakpointsViewInput) arg0).getContext(); + if (getContext() != null && context != null) + return getContext().equals(context); + } + + return super.equals(arg0); + } + +} diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/DefaultViewerInputProvider.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/DefaultViewerInputProvider.java index 04997ef06..258cc1ec4 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/DefaultViewerInputProvider.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/DefaultViewerInputProvider.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2009 Wind River Systems and others. + * Copyright (c) 2007, 2010 Wind River Systems and others. * 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 diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/StackFrameSourceDisplayAdapter.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/StackFrameSourceDisplayAdapter.java index 74dd07cd0..03a373071 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/StackFrameSourceDisplayAdapter.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/StackFrameSourceDisplayAdapter.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2005, 2009 IBM Corporation and others. + * Copyright (c) 2005, 2011 IBM Corporation and others. * 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 |