- suppress warnings in Material Support plugin

experimental
Normen Hansen 10 years ago
parent 1cb9edd07a
commit 4f7a4b19fd
  1. 1
      sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/dialog/AddAttributeDialog.java
  2. 1
      sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/dialog/AddMaterialParameterDialog.java
  3. 1
      sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/dialog/AddWorldParameterDialog.java
  4. 1
      sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/fileStructure/UberStatement.java
  5. 1
      sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/fileStructure/leaves/LeafStatement.java
  6. 1
      sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/navigator/MatDefNavigatorPanel.java
  7. 1
      sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/navigator/node/properties/MatParamProperty.java
  8. 1
      sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/shadervisual/ShaderVisualToolBar.java
  9. 2
      sdk/jme3-materialeditor/src/com/jme3/gde/materials/MaterialPropertyEditor.java
  10. 1
      sdk/jme3-materialeditor/src/com/jme3/gde/materials/multiview/MaterialEditorTopComponent.java
  11. 1
      sdk/jme3-materialeditor/src/com/jme3/gde/materials/multiview/widgets/SelectionPanel.java
  12. 1
      sdk/jme3-materialeditor/src/com/jme3/gde/materials/nvcompress/NVCompress.java
  13. 1
      sdk/jme3-materialeditor/src/com/jme3/gde/shadernodedefinition/wizard/SNDefVisualPanel1.java
  14. 1
      sdk/jme3-materialeditor/src/com/jme3/gde/shadernodedefinition/wizard/SNDefVisualPanel2.java
  15. 1
      sdk/jme3-materialeditor/src/com/jme3/gde/shadernodedefinition/wizard/SNDefWizardIterator.java

@ -13,6 +13,7 @@ import javax.swing.DefaultComboBoxModel;
*
* @author Nehon
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public class AddAttributeDialog extends javax.swing.JDialog {
private Diagram diagram;

@ -14,6 +14,7 @@ import javax.swing.DefaultComboBoxModel;
*
* @author Nehon
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public class AddMaterialParameterDialog extends javax.swing.JDialog {
private Diagram diagram;

@ -13,6 +13,7 @@ import javax.swing.DefaultComboBoxModel;
*
* @author Nehon
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public class AddWorldParameterDialog extends javax.swing.JDialog {
private Diagram diagram;

@ -16,6 +16,7 @@ import java.util.List;
*
* @author Nehon
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public class UberStatement extends Statement {
private List listeners = Collections.synchronizedList(new LinkedList());

@ -15,6 +15,7 @@ import java.util.List;
*
* @author Nehon
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public class LeafStatement extends Statement {
private List listeners = Collections.synchronizedList(new LinkedList());

@ -22,6 +22,7 @@ import org.openide.util.LookupListener;
* @author Nehon
*/
@NavigatorPanel.Registration(mimeType = "text/jme-materialdefinition", displayName = "Material Def")
@SuppressWarnings({"unchecked", "rawtypes"})
public class MatDefNavigatorPanel extends JPanel implements NavigatorPanel, ExplorerManager.Provider {
/**

@ -36,6 +36,7 @@ import org.openide.util.Lookup;
*
* @author Nehon
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public class MatParamProperty<T> extends Node.Property<T> {
private Lookup lookup;

@ -11,6 +11,7 @@ import com.jme3.shader.Shader;
*
* @author Nehon
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public class ShaderVisualToolBar extends javax.swing.JPanel {
private MatDefShaderElement parent;

@ -64,7 +64,7 @@ import org.openide.util.Exceptions;
* @author normenhansen
*/
@org.openide.util.lookup.ServiceProvider(service = SceneExplorerPropertyEditor.class)
@SuppressWarnings("unchecked")
@SuppressWarnings({"unchecked", "rawtypes"})
public class MaterialPropertyEditor implements PropertyEditor, SceneExplorerPropertyEditor {
private LinkedList<PropertyChangeListener> listeners = new LinkedList<PropertyChangeListener>();

@ -54,6 +54,7 @@ import org.openide.windows.Mode;
*/
@ConvertAsProperties(dtd = "-//com.jme3.gde.materials.multiview//MaterialEditor//EN",
autostore = false)
@SuppressWarnings({"unchecked", "rawtypes"})
public final class MaterialEditorTopComponent extends CloneableTopComponent implements MaterialWidgetListener, MaterialChangeProvider {
private static MaterialEditorTopComponent instance;

@ -17,6 +17,7 @@ import com.jme3.gde.materials.MaterialProperty;
*
* @author normenhansen
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public class SelectionPanel extends MaterialPropertyWidget {
/** Creates new form SelectionPanel */

@ -55,6 +55,7 @@ import jme3tools.converters.ImageToAwt;
import jme3tools.converters.MipMapGenerator;
import org.openide.util.NbPreferences;
@SuppressWarnings({"unchecked", "rawtypes"})
public class NVCompress extends javax.swing.JFrame {
private File texToolsPath;

@ -9,6 +9,7 @@ import com.jme3.shader.Shader;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JPanel;
@SuppressWarnings({"unchecked", "rawtypes"})
public final class SNDefVisualPanel1 extends JPanel {

@ -12,6 +12,7 @@ import javax.swing.event.ListSelectionEvent;
import javax.swing.event.ListSelectionListener;
import javax.swing.table.DefaultTableModel;
@SuppressWarnings({"unchecked", "rawtypes"})
public final class SNDefVisualPanel2 extends JPanel {
private final Object[] emptyObj = {"", "", ""};

@ -36,6 +36,7 @@ import org.openide.util.NbBundle.Messages;
@TemplateRegistration(folder = "Material", content = "../ShaderNodeSource", scriptEngine = "freemarker")
})
@Messages("SNDefWizardIterator_displayName=Shader Node Definition")
@SuppressWarnings({"unchecked", "rawtypes"})
public final class SNDefWizardIterator implements WizardDescriptor.InstantiatingIterator<WizardDescriptor> {
private int index;

Loading…
Cancel
Save