aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2018-08-01 04:37:43 -0400
committerEike Stepper2018-08-01 04:37:43 -0400
commit75dbe9847542d67cbe8d74fcc86ea433481058ca (patch)
treebc3258efb23ffc2aee627df251174863aa9f3af6
parent8a11bc645441900b776223c8763d175de54ba42e (diff)
downloadcdo-75dbe9847542d67cbe8d74fcc86ea433481058ca.tar.gz
cdo-75dbe9847542d67cbe8d74fcc86ea433481058ca.tar.xz
cdo-75dbe9847542d67cbe8d74fcc86ea433481058ca.zip
[Releng] Fix raw type warnings in security.ui (caused by databinding)HEADmaster
-rw-r--r--plugins/org.eclipse.emf.cdo.security.ui/META-INF/MANIFEST.MF16
-rw-r--r--plugins/org.eclipse.emf.cdo.security.ui/pom.xml2
-rw-r--r--plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/editor/AbstractDetailsPage.java4
-rw-r--r--plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/editor/TableSection.java2
-rw-r--r--plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/util/ObjectExistsConverter.java1
-rw-r--r--plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/util/OneToManyBlock.java1
6 files changed, 16 insertions, 10 deletions
diff --git a/plugins/org.eclipse.emf.cdo.security.ui/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.cdo.security.ui/META-INF/MANIFEST.MF
index a3db67ebc9..e6bd51a97b 100644
--- a/plugins/org.eclipse.emf.cdo.security.ui/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.emf.cdo.security.ui/META-INF/MANIFEST.MF
@@ -1,19 +1,19 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-SymbolicName: org.eclipse.emf.cdo.security.ui;singleton:=true
-Bundle-Version: 4.3.400.qualifier
+Bundle-Version: 4.3.500.qualifier
Bundle-Localization: plugin
Bundle-Name: %pluginName
Bundle-Vendor: %providerName
Bundle-ClassPath: .
Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Export-Package: org.eclipse.emf.cdo.security.internal.ui.bundle;version="4.3.400";x-internal:=true,
- org.eclipse.emf.cdo.security.internal.ui.dialogs;version="4.3.400";x-internal:=true,
- org.eclipse.emf.cdo.security.internal.ui.editor;version="4.3.400";x-internal:=true,
- org.eclipse.emf.cdo.security.internal.ui.handlers;version="4.3.400";x-internal:=true,
- org.eclipse.emf.cdo.security.internal.ui.messages;version="4.3.400";x-internal:=true,
- org.eclipse.emf.cdo.security.internal.ui.util;version="4.3.400";x-internal:=true,
- org.eclipse.emf.cdo.security.ui;version="4.3.400"
+Export-Package: org.eclipse.emf.cdo.security.internal.ui.bundle;version="4.3.500";x-internal:=true,
+ org.eclipse.emf.cdo.security.internal.ui.dialogs;version="4.3.500";x-internal:=true,
+ org.eclipse.emf.cdo.security.internal.ui.editor;version="4.3.500";x-internal:=true,
+ org.eclipse.emf.cdo.security.internal.ui.handlers;version="4.3.500";x-internal:=true,
+ org.eclipse.emf.cdo.security.internal.ui.messages;version="4.3.500";x-internal:=true,
+ org.eclipse.emf.cdo.security.internal.ui.util;version="4.3.500";x-internal:=true,
+ org.eclipse.emf.cdo.security.ui;version="4.3.500"
Require-Bundle: org.eclipse.emf.cdo.security;bundle-version="[4.3.0,5.0.0)",
org.eclipse.emf.cdo.security.edit;bundle-version="[4.1.0,5.0.0)",
org.eclipse.emf.cdo.ui;bundle-version="[4.3.0,5.0.0)",
diff --git a/plugins/org.eclipse.emf.cdo.security.ui/pom.xml b/plugins/org.eclipse.emf.cdo.security.ui/pom.xml
index 4a12c35936..faa17b0e6e 100644
--- a/plugins/org.eclipse.emf.cdo.security.ui/pom.xml
+++ b/plugins/org.eclipse.emf.cdo.security.ui/pom.xml
@@ -25,7 +25,7 @@
<groupId>org.eclipse.emf.cdo</groupId>
<artifactId>org.eclipse.emf.cdo.security.ui</artifactId>
- <version>4.3.400-SNAPSHOT</version>
+ <version>4.3.500-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
diff --git a/plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/editor/AbstractDetailsPage.java b/plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/editor/AbstractDetailsPage.java
index 34961c9275..14ab431690 100644
--- a/plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/editor/AbstractDetailsPage.java
+++ b/plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/editor/AbstractDetailsPage.java
@@ -99,6 +99,7 @@ public abstract class AbstractDetailsPage<T extends EObject> extends AbstractSec
}
}
+ @SuppressWarnings("unchecked")
protected Text text(Composite parent, FormToolkit toolkit, String label, EAttribute attribute)
{
toolkit.createLabel(parent, label);
@@ -256,6 +257,7 @@ public abstract class AbstractDetailsPage<T extends EObject> extends AbstractSec
return result;
}
+ @SuppressWarnings("unchecked")
protected Button checkbox(Composite parent, FormToolkit toolkit, String label, EAttribute attribute)
{
Button result = toolkit.createButton(createDecorationComposite(parent, toolkit, layoutData(parent, SWT.LEFT, false, 2)), label, SWT.CHECK);
@@ -267,6 +269,7 @@ public abstract class AbstractDetailsPage<T extends EObject> extends AbstractSec
return result;
}
+ @SuppressWarnings("unchecked")
protected Button button(Composite parent, FormToolkit toolkit, String label, SelectionListener selectionListener)
{
Button result = toolkit.createButton(parent, label, SWT.PUSH);
@@ -278,6 +281,7 @@ public abstract class AbstractDetailsPage<T extends EObject> extends AbstractSec
return result;
}
+ @SuppressWarnings("unchecked")
protected ComboViewer combo(Composite parent, FormToolkit toolkit, String label, EAttribute attribute)
{
toolkit.createLabel(parent, label);
diff --git a/plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/editor/TableSection.java b/plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/editor/TableSection.java
index bc039029e5..c661c10054 100644
--- a/plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/editor/TableSection.java
+++ b/plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/editor/TableSection.java
@@ -79,6 +79,7 @@ import java.util.Collections;
*
* @author Christian W. Damus (CEA LIST)
*/
+@SuppressWarnings("unchecked")
public abstract class TableSection<T extends EObject> extends AbstractSectionPart<Directory>
{
private final Class<T> elementType;
@@ -186,7 +187,6 @@ public abstract class TableSection<T extends EObject> extends AbstractSectionPar
globalAction.install(viewer);
}
- @SuppressWarnings("unchecked")
protected IAction createAddNewAction()
{
Command dummy = createCreateNewCommand();
diff --git a/plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/util/ObjectExistsConverter.java b/plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/util/ObjectExistsConverter.java
index 6721d7dfa7..144692bfb4 100644
--- a/plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/util/ObjectExistsConverter.java
+++ b/plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/util/ObjectExistsConverter.java
@@ -22,6 +22,7 @@ import org.eclipse.core.databinding.conversion.Converter;
*
* @author Christian W. Damus (CEA LIST)
*/
+@SuppressWarnings({ "rawtypes", "unchecked" })
public class ObjectExistsConverter extends Converter
{
public ObjectExistsConverter()
diff --git a/plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/util/OneToManyBlock.java b/plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/util/OneToManyBlock.java
index e9615dd407..791b8e8656 100644
--- a/plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/util/OneToManyBlock.java
+++ b/plugins/org.eclipse.emf.cdo.security.ui/src/org/eclipse/emf/cdo/security/internal/ui/util/OneToManyBlock.java
@@ -149,6 +149,7 @@ public class OneToManyBlock
editorActionBars = actionBars;
}
+ @SuppressWarnings("unchecked")
public void createControl(Composite parent, FormToolkit toolkit)
{
final EReference reference = getConfiguration().getModelReference();