- suppress more warnings in SDK
This commit is contained in:
parent
fd3b918a11
commit
5c738c6a8a
@ -55,6 +55,7 @@ import org.openide.util.actions.SystemAction;
|
|||||||
* @author normenhansen
|
* @author normenhansen
|
||||||
*/
|
*/
|
||||||
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
|
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class JmeCharacterControl extends AbstractSceneExplorerNode {
|
public class JmeCharacterControl extends AbstractSceneExplorerNode {
|
||||||
|
|
||||||
private static Image smallImage = IconList.player.getImage();
|
private static Image smallImage = IconList.player.getImage();
|
||||||
|
@ -42,6 +42,7 @@ import org.openide.nodes.Sheet;
|
|||||||
* @author normenhansen
|
* @author normenhansen
|
||||||
*/
|
*/
|
||||||
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
|
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class JmeDirectionalLight extends JmeLight{
|
public class JmeDirectionalLight extends JmeLight{
|
||||||
protected DirectionalLight directionalLight;
|
protected DirectionalLight directionalLight;
|
||||||
|
|
||||||
|
@ -52,6 +52,7 @@ import org.openide.util.actions.SystemAction;
|
|||||||
* @author Brent Owens
|
* @author Brent Owens
|
||||||
*/
|
*/
|
||||||
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
|
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class JmeDistanceLodCalculator extends AbstractSceneExplorerNode {
|
public class JmeDistanceLodCalculator extends AbstractSceneExplorerNode {
|
||||||
|
|
||||||
private DistanceLodCalculator lodCalculator;
|
private DistanceLodCalculator lodCalculator;
|
||||||
|
@ -51,6 +51,7 @@ import org.openide.util.actions.SystemAction;
|
|||||||
*
|
*
|
||||||
* @author normenhansen
|
* @author normenhansen
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class JmeGenericControl extends AbstractSceneExplorerNode {
|
public class JmeGenericControl extends AbstractSceneExplorerNode {
|
||||||
|
|
||||||
private final Control control;
|
private final Control control;
|
||||||
|
@ -54,6 +54,7 @@ import org.openide.util.actions.SystemAction;
|
|||||||
* @author normenhansen
|
* @author normenhansen
|
||||||
*/
|
*/
|
||||||
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
|
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class JmeGhostControl extends AbstractSceneExplorerNode {
|
public class JmeGhostControl extends AbstractSceneExplorerNode {
|
||||||
|
|
||||||
private static Image smallImage = IconList.ghostControl.getImage();
|
private static Image smallImage = IconList.ghostControl.getImage();
|
||||||
|
@ -53,6 +53,7 @@ import org.openide.util.actions.SystemAction;
|
|||||||
* @author normenhansen
|
* @author normenhansen
|
||||||
*/
|
*/
|
||||||
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
|
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class JmeMesh extends AbstractSceneExplorerNode{
|
public class JmeMesh extends AbstractSceneExplorerNode{
|
||||||
|
|
||||||
private Geometry geom;
|
private Geometry geom;
|
||||||
|
@ -42,6 +42,7 @@ import org.openide.nodes.Sheet;
|
|||||||
* @author normenhansen
|
* @author normenhansen
|
||||||
*/
|
*/
|
||||||
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
|
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class JmePicture extends JmeGeometry {
|
public class JmePicture extends JmeGeometry {
|
||||||
|
|
||||||
private static Image smallImage = IconList.texture.getImage();
|
private static Image smallImage = IconList.texture.getImage();
|
||||||
|
@ -42,6 +42,7 @@ import org.openide.nodes.Sheet;
|
|||||||
* @author normenhansen
|
* @author normenhansen
|
||||||
*/
|
*/
|
||||||
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
|
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class JmePointLight extends JmeLight{
|
public class JmePointLight extends JmeLight{
|
||||||
PointLight pointLight;
|
PointLight pointLight;
|
||||||
|
|
||||||
|
@ -54,6 +54,7 @@ import org.openide.util.actions.SystemAction;
|
|||||||
* @author normenhansen
|
* @author normenhansen
|
||||||
*/
|
*/
|
||||||
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
|
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class JmeRigidBodyControl extends AbstractSceneExplorerNode {
|
public class JmeRigidBodyControl extends AbstractSceneExplorerNode {
|
||||||
|
|
||||||
private static Image smallImage = IconList.physicsControl.getImage();
|
private static Image smallImage = IconList.physicsControl.getImage();
|
||||||
|
@ -44,6 +44,7 @@ import org.openide.nodes.Sheet;
|
|||||||
* @author normenhansen
|
* @author normenhansen
|
||||||
*/
|
*/
|
||||||
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
|
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class JmeSpotLight extends JmeLight{
|
public class JmeSpotLight extends JmeLight{
|
||||||
SpotLight spotLight;
|
SpotLight spotLight;
|
||||||
|
|
||||||
|
@ -47,6 +47,7 @@ import org.openide.nodes.Sheet;
|
|||||||
* @author normenhansen
|
* @author normenhansen
|
||||||
*/
|
*/
|
||||||
@org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class)
|
@org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class)
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class JmeTerrainGrid extends JmeTerrainQuad implements TerrainGridListener {
|
public class JmeTerrainGrid extends JmeTerrainQuad implements TerrainGridListener {
|
||||||
|
|
||||||
private static final Logger logger = Logger.getLogger(JmeTerrainGrid.class.getName());
|
private static final Logger logger = Logger.getLogger(JmeTerrainGrid.class.getName());
|
||||||
|
@ -57,6 +57,7 @@ import org.openide.util.actions.SystemAction;
|
|||||||
* @author Brent Owens
|
* @author Brent Owens
|
||||||
*/
|
*/
|
||||||
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
|
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class JmeTerrainLodControl extends AbstractSceneExplorerNode {
|
public class JmeTerrainLodControl extends AbstractSceneExplorerNode {
|
||||||
|
|
||||||
private static Image smallImage = IconList.wheel.getImage();
|
private static Image smallImage = IconList.wheel.getImage();
|
||||||
|
@ -45,6 +45,7 @@ import org.openide.nodes.Sheet;
|
|||||||
* @author normenhansen
|
* @author normenhansen
|
||||||
*/
|
*/
|
||||||
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
|
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class JmeTerrainQuad extends JmeNode {
|
public class JmeTerrainQuad extends JmeNode {
|
||||||
|
|
||||||
private static Image smallImage = IconList.terrain.getImage();
|
private static Image smallImage = IconList.terrain.getImage();
|
||||||
|
@ -61,6 +61,7 @@ import org.openide.util.actions.SystemAction;
|
|||||||
* @author normenhansen
|
* @author normenhansen
|
||||||
*/
|
*/
|
||||||
@org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class)
|
@org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class)
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class JmeTrack extends AbstractSceneExplorerNode {
|
public class JmeTrack extends AbstractSceneExplorerNode {
|
||||||
|
|
||||||
private static Image iconBoneTrack = IconList.boneTrack.getImage();
|
private static Image iconBoneTrack = IconList.boneTrack.getImage();
|
||||||
|
@ -59,6 +59,7 @@ import org.openide.util.actions.SystemAction;
|
|||||||
* @author normenhansen
|
* @author normenhansen
|
||||||
*/
|
*/
|
||||||
@org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class)
|
@org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class)
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class JmeVehicleControl extends AbstractSceneExplorerNode {
|
public class JmeVehicleControl extends AbstractSceneExplorerNode {
|
||||||
|
|
||||||
private static Image smallImage = IconList.vehicle.getImage();
|
private static Image smallImage = IconList.vehicle.getImage();
|
||||||
|
@ -53,6 +53,7 @@ import org.openide.util.actions.SystemAction;
|
|||||||
* @author normenhansen
|
* @author normenhansen
|
||||||
*/
|
*/
|
||||||
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
|
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class JmeVehicleWheel extends AbstractSceneExplorerNode{
|
public class JmeVehicleWheel extends AbstractSceneExplorerNode{
|
||||||
|
|
||||||
private VehicleWheel wheel;
|
private VehicleWheel wheel;
|
||||||
|
@ -67,6 +67,7 @@ import org.openide.util.Exceptions;
|
|||||||
*
|
*
|
||||||
* @author Nehon
|
* @author Nehon
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class ParticleInfluencerPicker extends javax.swing.JDialog {
|
public class ParticleInfluencerPicker extends javax.swing.JDialog {
|
||||||
|
|
||||||
JmeParticleEmitter jmePE;
|
JmeParticleEmitter jmePE;
|
||||||
|
@ -63,6 +63,7 @@ import org.openide.util.Exceptions;
|
|||||||
*
|
*
|
||||||
* @author normenhansen
|
* @author normenhansen
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class UserDataDialog extends javax.swing.JDialog {
|
public class UserDataDialog extends javax.swing.JDialog {
|
||||||
|
|
||||||
JmeSpatial spat;
|
JmeSpatial spat;
|
||||||
|
@ -66,6 +66,7 @@ import org.openide.util.Exceptions;
|
|||||||
*
|
*
|
||||||
* @author Nehon
|
* @author Nehon
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class UserDataPicker extends javax.swing.JDialog {
|
public class UserDataPicker extends javax.swing.JDialog {
|
||||||
|
|
||||||
UserDataDialog parentDialog;
|
UserDataDialog parentDialog;
|
||||||
|
@ -39,6 +39,7 @@ import javax.swing.JPanel;
|
|||||||
import javax.swing.JTextField;
|
import javax.swing.JTextField;
|
||||||
import jme3tools.optimize.LodGenerator;
|
import jme3tools.optimize.LodGenerator;
|
||||||
|
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public final class GenerateLODVisualPanel1 extends JPanel {
|
public final class GenerateLODVisualPanel1 extends JPanel {
|
||||||
|
|
||||||
private List<JTextField> valuesFields = new ArrayList<JTextField>();
|
private List<JTextField> valuesFields = new ArrayList<JTextField>();
|
||||||
|
@ -55,6 +55,7 @@ import org.netbeans.api.project.SourceGroup;
|
|||||||
import org.netbeans.api.project.Sources;
|
import org.netbeans.api.project.Sources;
|
||||||
import org.openide.util.Exceptions;
|
import org.openide.util.Exceptions;
|
||||||
|
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public final class NewCustomControlVisualPanel1 extends JPanel {
|
public final class NewCustomControlVisualPanel1 extends JPanel {
|
||||||
|
|
||||||
Project proj;
|
Project proj;
|
||||||
|
@ -53,6 +53,7 @@ import org.openide.util.Exceptions;
|
|||||||
// @ActionRegistration(displayName="Open NewCustomControl Wizard")
|
// @ActionRegistration(displayName="Open NewCustomControl Wizard")
|
||||||
// @ActionReference(path="Menu/Tools", position=...)
|
// @ActionReference(path="Menu/Tools", position=...)
|
||||||
@org.openide.util.lookup.ServiceProvider(service = NewControlAction.class)
|
@org.openide.util.lookup.ServiceProvider(service = NewControlAction.class)
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public final class NewCustomControlWizardAction extends AbstractNewControlWizardAction {
|
public final class NewCustomControlWizardAction extends AbstractNewControlWizardAction {
|
||||||
|
|
||||||
private WizardDescriptor.Panel[] panels;
|
private WizardDescriptor.Panel[] panels;
|
||||||
|
@ -37,6 +37,7 @@ import org.netbeans.api.project.Project;
|
|||||||
import org.openide.WizardDescriptor;
|
import org.openide.WizardDescriptor;
|
||||||
import org.openide.util.HelpCtx;
|
import org.openide.util.HelpCtx;
|
||||||
|
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class NewCustomControlWizardPanel1 implements WizardDescriptor.Panel {
|
public class NewCustomControlWizardPanel1 implements WizardDescriptor.Panel {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -65,6 +65,7 @@ import org.openide.windows.TopComponent;
|
|||||||
"CTL_NewGeometrySettingsTopComponent=NewGeometrySettings",
|
"CTL_NewGeometrySettingsTopComponent=NewGeometrySettings",
|
||||||
"HINT_NewGeometrySettingsTopComponent=This is a NewGeometrySettings window"
|
"HINT_NewGeometrySettingsTopComponent=This is a NewGeometrySettings window"
|
||||||
})
|
})
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public final class NewGeometrySettingsTopComponent extends TopComponent {
|
public final class NewGeometrySettingsTopComponent extends TopComponent {
|
||||||
|
|
||||||
public NewGeometrySettingsTopComponent() {
|
public NewGeometrySettingsTopComponent() {
|
||||||
|
@ -44,6 +44,7 @@ import javax.swing.JList;
|
|||||||
import javax.swing.JPanel;
|
import javax.swing.JPanel;
|
||||||
import javax.swing.ListCellRenderer;
|
import javax.swing.ListCellRenderer;
|
||||||
|
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public final class AudioTrackVisualPanel1 extends JPanel {
|
public final class AudioTrackVisualPanel1 extends JPanel {
|
||||||
|
|
||||||
Spatial rootNode;
|
Spatial rootNode;
|
||||||
|
@ -50,6 +50,7 @@ import org.openide.WizardDescriptor;
|
|||||||
// @ActionID(category="...", id="com.jme3.gde.core.sceneexplorer.nodes.actions.impl.tracks.EffectTrackWizardAction")
|
// @ActionID(category="...", id="com.jme3.gde.core.sceneexplorer.nodes.actions.impl.tracks.EffectTrackWizardAction")
|
||||||
// @ActionRegistration(displayName="Open EffectTrack Wizard")
|
// @ActionRegistration(displayName="Open EffectTrack Wizard")
|
||||||
// @ActionReference(path="Menu/Tools", position=...)
|
// @ActionReference(path="Menu/Tools", position=...)
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public final class AudioTrackWizardAction implements ActionListener {
|
public final class AudioTrackWizardAction implements ActionListener {
|
||||||
|
|
||||||
private WizardDescriptor.Panel[] panels;
|
private WizardDescriptor.Panel[] panels;
|
||||||
|
@ -38,6 +38,7 @@ import javax.swing.event.ChangeListener;
|
|||||||
import org.openide.WizardDescriptor;
|
import org.openide.WizardDescriptor;
|
||||||
import org.openide.util.HelpCtx;
|
import org.openide.util.HelpCtx;
|
||||||
|
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class AudioTrackWizardPanel1 implements WizardDescriptor.Panel {
|
public class AudioTrackWizardPanel1 implements WizardDescriptor.Panel {
|
||||||
|
|
||||||
Spatial rootNode;
|
Spatial rootNode;
|
||||||
|
@ -44,6 +44,7 @@ import javax.swing.JList;
|
|||||||
import javax.swing.JPanel;
|
import javax.swing.JPanel;
|
||||||
import javax.swing.ListCellRenderer;
|
import javax.swing.ListCellRenderer;
|
||||||
|
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public final class EffectTrackVisualPanel1 extends JPanel {
|
public final class EffectTrackVisualPanel1 extends JPanel {
|
||||||
|
|
||||||
Spatial rootNode;
|
Spatial rootNode;
|
||||||
|
@ -50,6 +50,7 @@ import org.openide.WizardDescriptor;
|
|||||||
// @ActionID(category="...", id="com.jme3.gde.core.sceneexplorer.nodes.actions.impl.tracks.EffectTrackWizardAction")
|
// @ActionID(category="...", id="com.jme3.gde.core.sceneexplorer.nodes.actions.impl.tracks.EffectTrackWizardAction")
|
||||||
// @ActionRegistration(displayName="Open EffectTrack Wizard")
|
// @ActionRegistration(displayName="Open EffectTrack Wizard")
|
||||||
// @ActionReference(path="Menu/Tools", position=...)
|
// @ActionReference(path="Menu/Tools", position=...)
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public final class EffectTrackWizardAction implements ActionListener {
|
public final class EffectTrackWizardAction implements ActionListener {
|
||||||
|
|
||||||
private WizardDescriptor.Panel[] panels;
|
private WizardDescriptor.Panel[] panels;
|
||||||
|
@ -38,6 +38,7 @@ import javax.swing.event.ChangeListener;
|
|||||||
import org.openide.WizardDescriptor;
|
import org.openide.WizardDescriptor;
|
||||||
import org.openide.util.HelpCtx;
|
import org.openide.util.HelpCtx;
|
||||||
|
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class EffectTrackWizardPanel1 implements WizardDescriptor.Panel {
|
public class EffectTrackWizardPanel1 implements WizardDescriptor.Panel {
|
||||||
|
|
||||||
Spatial rootNode;
|
Spatial rootNode;
|
||||||
|
@ -20,6 +20,7 @@ import org.netbeans.api.project.ui.OpenProjects;
|
|||||||
*
|
*
|
||||||
* @author normenhansen
|
* @author normenhansen
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class ProjectSelection extends javax.swing.JDialog {
|
public class ProjectSelection extends javax.swing.JDialog {
|
||||||
|
|
||||||
private Project[] projects;
|
private Project[] projects;
|
||||||
|
@ -40,6 +40,7 @@ import java.lang.reflect.Method;
|
|||||||
*
|
*
|
||||||
* @author Nehon
|
* @author Nehon
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class PropertyUtils {
|
public class PropertyUtils {
|
||||||
|
|
||||||
public static PropertyDescriptor getPropertyDescriptor(Class c, Field field) {
|
public static PropertyDescriptor getPropertyDescriptor(Class c, Field field) {
|
||||||
|
@ -51,6 +51,7 @@ import java.util.logging.Logger;
|
|||||||
*
|
*
|
||||||
* @author normenhansen
|
* @author normenhansen
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class SpatialUtil {
|
public class SpatialUtil {
|
||||||
|
|
||||||
private static final Logger logger = Logger.getLogger(SpatialUtil.class.getName());
|
private static final Logger logger = Logger.getLogger(SpatialUtil.class.getName());
|
||||||
|
@ -13,6 +13,7 @@ import javax.swing.tree.TreePath;
|
|||||||
*
|
*
|
||||||
* @author Nehon
|
* @author Nehon
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class TreeUtil {
|
public class TreeUtil {
|
||||||
|
|
||||||
public static void createTree(JTree jTree1, String[] leaves) {
|
public static void createTree(JTree jTree1, String[] leaves) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user