- suppress warnings in Material Support plugin
This commit is contained in:
parent
1cb9edd07a
commit
4f7a4b19fd
@ -13,6 +13,7 @@ import javax.swing.DefaultComboBoxModel;
|
|||||||
*
|
*
|
||||||
* @author Nehon
|
* @author Nehon
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class AddAttributeDialog extends javax.swing.JDialog {
|
public class AddAttributeDialog extends javax.swing.JDialog {
|
||||||
|
|
||||||
private Diagram diagram;
|
private Diagram diagram;
|
||||||
|
@ -14,6 +14,7 @@ import javax.swing.DefaultComboBoxModel;
|
|||||||
*
|
*
|
||||||
* @author Nehon
|
* @author Nehon
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class AddMaterialParameterDialog extends javax.swing.JDialog {
|
public class AddMaterialParameterDialog extends javax.swing.JDialog {
|
||||||
|
|
||||||
private Diagram diagram;
|
private Diagram diagram;
|
||||||
|
@ -13,6 +13,7 @@ import javax.swing.DefaultComboBoxModel;
|
|||||||
*
|
*
|
||||||
* @author Nehon
|
* @author Nehon
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class AddWorldParameterDialog extends javax.swing.JDialog {
|
public class AddWorldParameterDialog extends javax.swing.JDialog {
|
||||||
|
|
||||||
private Diagram diagram;
|
private Diagram diagram;
|
||||||
|
@ -16,6 +16,7 @@ import java.util.List;
|
|||||||
*
|
*
|
||||||
* @author Nehon
|
* @author Nehon
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class UberStatement extends Statement {
|
public class UberStatement extends Statement {
|
||||||
|
|
||||||
private List listeners = Collections.synchronizedList(new LinkedList());
|
private List listeners = Collections.synchronizedList(new LinkedList());
|
||||||
|
@ -15,6 +15,7 @@ import java.util.List;
|
|||||||
*
|
*
|
||||||
* @author Nehon
|
* @author Nehon
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class LeafStatement extends Statement {
|
public class LeafStatement extends Statement {
|
||||||
|
|
||||||
private List listeners = Collections.synchronizedList(new LinkedList());
|
private List listeners = Collections.synchronizedList(new LinkedList());
|
||||||
|
@ -22,6 +22,7 @@ import org.openide.util.LookupListener;
|
|||||||
* @author Nehon
|
* @author Nehon
|
||||||
*/
|
*/
|
||||||
@NavigatorPanel.Registration(mimeType = "text/jme-materialdefinition", displayName = "Material Def")
|
@NavigatorPanel.Registration(mimeType = "text/jme-materialdefinition", displayName = "Material Def")
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class MatDefNavigatorPanel extends JPanel implements NavigatorPanel, ExplorerManager.Provider {
|
public class MatDefNavigatorPanel extends JPanel implements NavigatorPanel, ExplorerManager.Provider {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -36,6 +36,7 @@ import org.openide.util.Lookup;
|
|||||||
*
|
*
|
||||||
* @author Nehon
|
* @author Nehon
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class MatParamProperty<T> extends Node.Property<T> {
|
public class MatParamProperty<T> extends Node.Property<T> {
|
||||||
|
|
||||||
private Lookup lookup;
|
private Lookup lookup;
|
||||||
|
@ -11,6 +11,7 @@ import com.jme3.shader.Shader;
|
|||||||
*
|
*
|
||||||
* @author Nehon
|
* @author Nehon
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class ShaderVisualToolBar extends javax.swing.JPanel {
|
public class ShaderVisualToolBar extends javax.swing.JPanel {
|
||||||
|
|
||||||
private MatDefShaderElement parent;
|
private MatDefShaderElement parent;
|
||||||
|
@ -64,7 +64,7 @@ import org.openide.util.Exceptions;
|
|||||||
* @author normenhansen
|
* @author normenhansen
|
||||||
*/
|
*/
|
||||||
@org.openide.util.lookup.ServiceProvider(service = SceneExplorerPropertyEditor.class)
|
@org.openide.util.lookup.ServiceProvider(service = SceneExplorerPropertyEditor.class)
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class MaterialPropertyEditor implements PropertyEditor, SceneExplorerPropertyEditor {
|
public class MaterialPropertyEditor implements PropertyEditor, SceneExplorerPropertyEditor {
|
||||||
|
|
||||||
private LinkedList<PropertyChangeListener> listeners = new LinkedList<PropertyChangeListener>();
|
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",
|
@ConvertAsProperties(dtd = "-//com.jme3.gde.materials.multiview//MaterialEditor//EN",
|
||||||
autostore = false)
|
autostore = false)
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public final class MaterialEditorTopComponent extends CloneableTopComponent implements MaterialWidgetListener, MaterialChangeProvider {
|
public final class MaterialEditorTopComponent extends CloneableTopComponent implements MaterialWidgetListener, MaterialChangeProvider {
|
||||||
|
|
||||||
private static MaterialEditorTopComponent instance;
|
private static MaterialEditorTopComponent instance;
|
||||||
|
@ -17,6 +17,7 @@ import com.jme3.gde.materials.MaterialProperty;
|
|||||||
*
|
*
|
||||||
* @author normenhansen
|
* @author normenhansen
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class SelectionPanel extends MaterialPropertyWidget {
|
public class SelectionPanel extends MaterialPropertyWidget {
|
||||||
|
|
||||||
/** Creates new form SelectionPanel */
|
/** Creates new form SelectionPanel */
|
||||||
|
@ -55,6 +55,7 @@ import jme3tools.converters.ImageToAwt;
|
|||||||
import jme3tools.converters.MipMapGenerator;
|
import jme3tools.converters.MipMapGenerator;
|
||||||
import org.openide.util.NbPreferences;
|
import org.openide.util.NbPreferences;
|
||||||
|
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class NVCompress extends javax.swing.JFrame {
|
public class NVCompress extends javax.swing.JFrame {
|
||||||
|
|
||||||
private File texToolsPath;
|
private File texToolsPath;
|
||||||
|
@ -9,6 +9,7 @@ import com.jme3.shader.Shader;
|
|||||||
import javax.swing.DefaultComboBoxModel;
|
import javax.swing.DefaultComboBoxModel;
|
||||||
import javax.swing.JPanel;
|
import javax.swing.JPanel;
|
||||||
|
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public final class SNDefVisualPanel1 extends JPanel {
|
public final class SNDefVisualPanel1 extends JPanel {
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@ import javax.swing.event.ListSelectionEvent;
|
|||||||
import javax.swing.event.ListSelectionListener;
|
import javax.swing.event.ListSelectionListener;
|
||||||
import javax.swing.table.DefaultTableModel;
|
import javax.swing.table.DefaultTableModel;
|
||||||
|
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public final class SNDefVisualPanel2 extends JPanel {
|
public final class SNDefVisualPanel2 extends JPanel {
|
||||||
|
|
||||||
private final Object[] emptyObj = {"", "", ""};
|
private final Object[] emptyObj = {"", "", ""};
|
||||||
|
@ -36,6 +36,7 @@ import org.openide.util.NbBundle.Messages;
|
|||||||
@TemplateRegistration(folder = "Material", content = "../ShaderNodeSource", scriptEngine = "freemarker")
|
@TemplateRegistration(folder = "Material", content = "../ShaderNodeSource", scriptEngine = "freemarker")
|
||||||
})
|
})
|
||||||
@Messages("SNDefWizardIterator_displayName=Shader Node Definition")
|
@Messages("SNDefWizardIterator_displayName=Shader Node Definition")
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public final class SNDefWizardIterator implements WizardDescriptor.InstantiatingIterator<WizardDescriptor> {
|
public final class SNDefWizardIterator implements WizardDescriptor.InstantiatingIterator<WizardDescriptor> {
|
||||||
|
|
||||||
private int index;
|
private int index;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user