- suppress more warnings in SDK
This commit is contained in:
parent
5bc1595ab8
commit
cd7cedbda9
@ -15,6 +15,7 @@ import org.openide.WizardDescriptor;
|
|||||||
// @ActionID(category="...", id="com.jme3.gde.core.filters.impl.bloom.BloomWizardAction")
|
// @ActionID(category="...", id="com.jme3.gde.core.filters.impl.bloom.BloomWizardAction")
|
||||||
// @ActionRegistration(displayName="Open Bloom Wizard")
|
// @ActionRegistration(displayName="Open Bloom Wizard")
|
||||||
// @ActionReference(path="Menu/Tools", position=...)
|
// @ActionReference(path="Menu/Tools", position=...)
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public final class BloomWizardAction implements ActionListener {
|
public final class BloomWizardAction implements ActionListener {
|
||||||
|
|
||||||
private WizardDescriptor.Panel[] panels;
|
private WizardDescriptor.Panel[] panels;
|
||||||
|
@ -6,6 +6,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 BloomWizardPanel1 implements WizardDescriptor.Panel {
|
public class BloomWizardPanel1 implements WizardDescriptor.Panel {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -27,6 +27,7 @@ import org.openide.util.Lookup;
|
|||||||
*
|
*
|
||||||
* @author normenhansen
|
* @author normenhansen
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class ImportantFilesNode extends AbstractNode implements FileChangeListener {
|
public class ImportantFilesNode extends AbstractNode implements FileChangeListener {
|
||||||
|
|
||||||
private static Image smallImage = IconList.important.getImage();
|
private static Image smallImage = IconList.important.getImage();
|
||||||
|
@ -26,6 +26,7 @@ import org.openide.util.Utilities;
|
|||||||
* @author normenhansen
|
* @author normenhansen
|
||||||
*/
|
*/
|
||||||
@NavigatorPanel.Registration(displayName = "SceneExplorer", mimeType = "application/jme3model")
|
@NavigatorPanel.Registration(displayName = "SceneExplorer", mimeType = "application/jme3model")
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class SceneNavigatorPanel extends JPanel implements NavigatorPanel, LookupListener, ExplorerManager.Provider {
|
public class SceneNavigatorPanel extends JPanel implements NavigatorPanel, LookupListener, ExplorerManager.Provider {
|
||||||
|
|
||||||
private final BeanTreeView beanTreeView = new BeanTreeView();
|
private final BeanTreeView beanTreeView = new BeanTreeView();
|
||||||
|
@ -43,6 +43,7 @@ import java.util.concurrent.Callable;
|
|||||||
*
|
*
|
||||||
* @author Nehon
|
* @author Nehon
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class LodLevelProperty extends SceneExplorerProperty {
|
public class LodLevelProperty extends SceneExplorerProperty {
|
||||||
|
|
||||||
ComboBoxPropertyEditor editor = null;
|
ComboBoxPropertyEditor editor = null;
|
||||||
|
@ -54,6 +54,7 @@ import org.openide.util.Exceptions;
|
|||||||
*
|
*
|
||||||
* @author normenhansen
|
* @author normenhansen
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class ParticleInfluencerPropertyEditor implements PropertyEditor {
|
public class ParticleInfluencerPropertyEditor implements PropertyEditor {
|
||||||
|
|
||||||
private LinkedList<PropertyChangeListener> listeners = new LinkedList<PropertyChangeListener>();
|
private LinkedList<PropertyChangeListener> listeners = new LinkedList<PropertyChangeListener>();
|
||||||
|
@ -61,7 +61,7 @@ import org.openide.util.Mutex;
|
|||||||
*
|
*
|
||||||
* @author normenhansen
|
* @author normenhansen
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class SceneExplorerProperty<T> extends PropertySupport.Reflection<T> {
|
public class SceneExplorerProperty<T> extends PropertySupport.Reflection<T> {
|
||||||
|
|
||||||
protected static final Logger logger = Logger.getLogger(SceneExplorerProperty.class.getName());
|
protected static final Logger logger = Logger.getLogger(SceneExplorerProperty.class.getName());
|
||||||
|
@ -36,6 +36,7 @@ package com.jme3.gde.core.properties;
|
|||||||
*
|
*
|
||||||
* @author normenhansen
|
* @author normenhansen
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public interface SceneExplorerPropertyEditor {
|
public interface SceneExplorerPropertyEditor {
|
||||||
public void setEditor(Class valueType, SceneExplorerProperty prop);
|
public void setEditor(Class valueType, SceneExplorerProperty prop);
|
||||||
}
|
}
|
||||||
|
@ -51,6 +51,7 @@ import org.openide.util.Exceptions;
|
|||||||
* @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 JmeGeometry extends JmeSpatial implements MaterialChangeListener {
|
public class JmeGeometry extends JmeSpatial implements MaterialChangeListener {
|
||||||
|
|
||||||
private static Image smallImage = IconList.geometry.getImage();
|
private static Image smallImage = IconList.geometry.getImage();
|
||||||
|
@ -57,6 +57,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 JmeParticleEmitter extends JmeGeometry {
|
public class JmeParticleEmitter extends JmeGeometry {
|
||||||
|
|
||||||
public JmeParticleEmitter() {
|
public JmeParticleEmitter() {
|
||||||
|
@ -46,6 +46,7 @@ import org.openide.explorer.propertysheet.PropertyModel;
|
|||||||
*
|
*
|
||||||
* @author Nehon
|
* @author Nehon
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class ComboInplaceEditor implements InplaceEditor {
|
public class ComboInplaceEditor implements InplaceEditor {
|
||||||
|
|
||||||
private PropertyEditor editor = null;
|
private PropertyEditor editor = null;
|
||||||
|
@ -26,6 +26,7 @@ import org.openide.nodes.Sheet;
|
|||||||
*
|
*
|
||||||
* @author cris
|
* @author cris
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class GElementNode extends AbstractNode{
|
public class GElementNode extends AbstractNode{
|
||||||
private final GElement element;
|
private final GElement element;
|
||||||
private static final String basePath="com/jme3/gde/gui/multiview/icons";
|
private static final String basePath="com/jme3/gde/gui/multiview/icons";
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
package com.jme3.gde.gui.palette;
|
package com.jme3.gde.gui.palette;
|
||||||
|
|
||||||
|
|
||||||
import com.google.common.base.Predicate;
|
|
||||||
import jada.ngeditor.model.elements.GControl;
|
import jada.ngeditor.model.elements.GControl;
|
||||||
import jada.ngeditor.model.elements.GElement;
|
import jada.ngeditor.model.elements.GElement;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@ -10,6 +9,7 @@ import org.openide.nodes.ChildFactory;
|
|||||||
import org.openide.nodes.Children;
|
import org.openide.nodes.Children;
|
||||||
import org.openide.nodes.Node;
|
import org.openide.nodes.Node;
|
||||||
|
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class CategoryChildFactory extends ChildFactory<ElementFilter> {
|
public class CategoryChildFactory extends ChildFactory<ElementFilter> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -10,6 +10,7 @@ import com.google.common.base.Predicate;
|
|||||||
*
|
*
|
||||||
* @author cris
|
* @author cris
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
abstract class ElementFilter implements Predicate<Class>{
|
abstract class ElementFilter implements Predicate<Class>{
|
||||||
private final String name;
|
private final String name;
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@ import org.openide.nodes.Node;
|
|||||||
*
|
*
|
||||||
* @author cris
|
* @author cris
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public class WidgetChildFactory extends ChildFactory<Class>{
|
public class WidgetChildFactory extends ChildFactory<Class>{
|
||||||
private final ElementFilter category;
|
private final ElementFilter category;
|
||||||
|
|
||||||
|
@ -76,6 +76,7 @@ import org.xml.sax.SAXException;
|
|||||||
preferredID = "NiftyGuiVisual",
|
preferredID = "NiftyGuiVisual",
|
||||||
position = 2000)
|
position = 2000)
|
||||||
@Messages("LBL_NiftyGui_VISUAL=Visual")
|
@Messages("LBL_NiftyGui_VISUAL=Visual")
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
public final class NiftyGuiVisualElement extends JPanel implements MultiViewElement , ExplorerManager.Provider,Observer, PropertyChangeListener {
|
public final class NiftyGuiVisualElement extends JPanel implements MultiViewElement , ExplorerManager.Provider,Observer, PropertyChangeListener {
|
||||||
private static final Logger logger = Logger.getLogger(NiftyGuiVisualElement.class.getName());
|
private static final Logger logger = Logger.getLogger(NiftyGuiVisualElement.class.getName());
|
||||||
private NiftyGuiDataObject obj;
|
private NiftyGuiDataObject obj;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user