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