Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcbateman2007-04-10 19:06:38 +0000
committercbateman2007-04-10 19:06:38 +0000
commit99ded83017f4bdcfa2f2af4ec1437011014c83f8 (patch)
tree21b500a08f28c52e030c67d99f91ca4ded980ad0 /jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui
parent405904663d2874a07e38ac16088b56f2eddb866c (diff)
downloadwebtools.jsf-99ded83017f4bdcfa2f2af4ec1437011014c83f8.tar.gz
webtools.jsf-99ded83017f4bdcfa2f2af4ec1437011014c83f8.tar.xz
webtools.jsf-99ded83017f4bdcfa2f2af4ec1437011014c83f8.zip
Move to Java 5. Removed some internal code dependency.
Diffstat (limited to 'jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui')
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/.classpath2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/.settings/org.eclipse.jdt.core.prefs14
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/META-INF/MANIFEST.MF1
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/build.properties2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/pageflow/editpart/PageflowElementEditPart.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/section/ManagedBeanMasterSection.java12
6 files changed, 18 insertions, 15 deletions
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/.classpath b/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/.classpath
index 751c8f2e5..304e86186 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/.classpath
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/.classpath
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="bin"/>
</classpath>
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/.settings/org.eclipse.jdt.core.prefs b/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/.settings/org.eclipse.jdt.core.prefs
index 555e7217e..e45508d63 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/.settings/org.eclipse.jdt.core.prefs
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/.settings/org.eclipse.jdt.core.prefs
@@ -1,9 +1,9 @@
-#Fri Apr 06 22:45:35 PDT 2007
+#Tue Apr 10 09:09:10 PDT 2007
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.4
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.4
+org.eclipse.jdt.core.compiler.compliance=1.5
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
@@ -16,7 +16,7 @@ org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
org.eclipse.jdt.core.compiler.problem.fatalOptionalError=enabled
org.eclipse.jdt.core.compiler.problem.fieldHiding=warning
@@ -51,14 +51,14 @@ org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning
org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
-org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
+org.eclipse.jdt.core.compiler.problem.rawTypeReference=ignore
org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
org.eclipse.jdt.core.compiler.problem.typeParameterHiding=ignore
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
+org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=ignore
org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=error
org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
org.eclipse.jdt.core.compiler.problem.unnecessaryElse=warning
@@ -74,4 +74,4 @@ org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=di
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=error
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.4
+org.eclipse.jdt.core.compiler.source=1.5
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/META-INF/MANIFEST.MF b/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/META-INF/MANIFEST.MF
index 450bf93f0..a1ca5d9a6 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/META-INF/MANIFEST.MF
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/META-INF/MANIFEST.MF
@@ -52,3 +52,4 @@ Export-Package: org.eclipse.jst.jsf.facesconfig.ui,
org.eclipse.jst.jsf.facesconfig.ui.section,
org.eclipse.jst.jsf.facesconfig.ui.util,
org.eclipse.jst.jsf.facesconfig.ui.wizard
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/build.properties b/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/build.properties
index 2e3df51df..6d5e09dac 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/build.properties
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/build.properties
@@ -7,3 +7,5 @@ bin.includes = META-INF/,\
plugin.properties,\
cheatsheets/,\
about.html
+javacSource=1.5
+javacTarget=1.5 \ No newline at end of file
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/pageflow/editpart/PageflowElementEditPart.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/pageflow/editpart/PageflowElementEditPart.java
index 32c5cbc2c..a3e32ff90 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/pageflow/editpart/PageflowElementEditPart.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/pageflow/editpart/PageflowElementEditPart.java
@@ -248,7 +248,7 @@ public abstract class PageflowElementEditPart extends AbstractGraphicalEditPart
protected void hookIntoPageflowElement(PageflowElement element) {
if (null != element) {
if (!element.eAdapters().contains(getAdapter(Adapter.class))) {
- element.eAdapters().add(getAdapter(Adapter.class));
+ element.eAdapters().add((Adapter) getAdapter(Adapter.class));
}
}
}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/section/ManagedBeanMasterSection.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/section/ManagedBeanMasterSection.java
index eb3ba4f10..1204dd19d 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/section/ManagedBeanMasterSection.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig.ui/src/org/eclipse/jst/jsf/facesconfig/ui/section/ManagedBeanMasterSection.java
@@ -50,9 +50,9 @@ import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Shell;
+import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.forms.IManagedForm;
import org.eclipse.ui.forms.widgets.FormToolkit;
-import org.eclipse.ui.internal.Workbench;
/**
* @author sfshi
@@ -290,7 +290,7 @@ public class ManagedBeanMasterSection extends FacesConfigMasterSection {
}
};
- Workbench.getInstance().getDisplay().asyncExec(run);
+ PlatformUI.getWorkbench().getDisplay().asyncExec(run);
} else if (msg.getEventType() == Notification.REMOVE) {
Runnable run = new Runnable() {
@@ -299,7 +299,7 @@ public class ManagedBeanMasterSection extends FacesConfigMasterSection {
}
};
- Workbench.getInstance().getDisplay().asyncExec(run);
+ PlatformUI.getWorkbench().getDisplay().asyncExec(run);
}
else if (msg.getEventType() == Notification.SET) {
@@ -310,7 +310,7 @@ public class ManagedBeanMasterSection extends FacesConfigMasterSection {
}
};
- Workbench.getInstance().getDisplay().asyncExec(run);
+ PlatformUI.getWorkbench().getDisplay().asyncExec(run);
}
}
@@ -328,7 +328,7 @@ public class ManagedBeanMasterSection extends FacesConfigMasterSection {
}
};
- Workbench.getInstance().getDisplay().asyncExec(run);
+ PlatformUI.getWorkbench().getDisplay().asyncExec(run);
} else if (msg.getFeature() == FacesConfigPackage.eINSTANCE
.getManagedBeanType_ManagedBeanScope()) {
@@ -345,7 +345,7 @@ public class ManagedBeanMasterSection extends FacesConfigMasterSection {
}
};
- Workbench.getInstance().getDisplay().asyncExec(run1);
+ PlatformUI.getWorkbench().getDisplay().asyncExec(run1);
}
}

Back to the top