Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/pasteInNewTable/org.eclipse.papyrus.uml.nattable/src/org/eclipse/papyrus/uml/nattable/provider/tmp/AbstractRestrictedContentProvider.java')
-rw-r--r--sandbox/pasteInNewTable/org.eclipse.papyrus.uml.nattable/src/org/eclipse/papyrus/uml/nattable/provider/tmp/AbstractRestrictedContentProvider.java107
1 files changed, 0 insertions, 107 deletions
diff --git a/sandbox/pasteInNewTable/org.eclipse.papyrus.uml.nattable/src/org/eclipse/papyrus/uml/nattable/provider/tmp/AbstractRestrictedContentProvider.java b/sandbox/pasteInNewTable/org.eclipse.papyrus.uml.nattable/src/org/eclipse/papyrus/uml/nattable/provider/tmp/AbstractRestrictedContentProvider.java
deleted file mode 100644
index d1d62195355..00000000000
--- a/sandbox/pasteInNewTable/org.eclipse.papyrus.uml.nattable/src/org/eclipse/papyrus/uml/nattable/provider/tmp/AbstractRestrictedContentProvider.java
+++ /dev/null
@@ -1,107 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2013 CEA LIST.
- *
- * 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:
- * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.uml.nattable.provider.tmp;
-
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.papyrus.infra.nattable.provider.tmp.IRestrictedContentProvider;
-
-/**
- * Abstract Implementation for {@link IRestrictedContentProvider}
- *
- * @author JC236769
- *
- */
-//FIXME must be deleted after the official extraplugins build and before Papyrus 0.10SR1
-public abstract class AbstractRestrictedContentProvider implements IRestrictedContentProvider {
-
- /**
- * flag to indicate the useage of the restriction in the content provider
- */
- private boolean isRestricted;
-
- /**
- * if <code>false</code> the inherited features will be displayed
- */
- private boolean ignoreInheritedFeatures;
-
- /**
- *
- * Constructor.
- *
- * @param isRestricted
- */
- public AbstractRestrictedContentProvider(final boolean isRestricted) {
- this.isRestricted = isRestricted;
- }
-
- /**
- *
- * @see org.eclipse.papyrus.infra.widgets.providers.IRestrictedContentProvider#setRestriction(boolean)
- *
- * @param isRestricted
- */
- public final void setRestriction(boolean isRestricted) {
- this.isRestricted = isRestricted;
- }
-
- /**
- *
- * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
- *
- * @param viewer
- * @param oldInput
- * @param newInput
- */
- public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
-
- }
-
- /**
- *
- * @see org.eclipse.jface.viewers.IContentProvider#dispose()
- *
- */
- public void dispose() {
-
- }
-
- /**
- *
- * @see org.eclipse.papyrus.infra.nattable.provider.tmp.IInheritedElementContentProvider#setIgnoreInheritedElements(boolean)
- *
- * @param ignoreInheritedElements
- */
- public void setIgnoreInheritedElements(boolean ignoreInheritedElements) {
- this.ignoreInheritedFeatures = ignoreInheritedElements;
- }
-
- /**
- *
- * @see org.eclipse.papyrus.infra.nattable.provider.tmp.IInheritedElementContentProvider#isIgnoringInheritedElements()
- *
- * @return
- */
- public boolean isIgnoringInheritedElements() {
- return this.ignoreInheritedFeatures;
- }
-
- /**
- *
- * @see org.eclipse.papyrus.infra.widgets.providers.IRestrictedContentProvider#isRestricted()
- *
- * @return
- */
- public boolean isRestricted() {
- return this.isRestricted;
- }
-
-}

Back to the top