- add icon to AppState nodes

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10690 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 12 years ago
parent a4f268860f
commit 4f25942533
  1. 22
      sdk/jme3-core/src/com/jme3/gde/core/appstates/AppStateNode.java

@ -33,10 +33,12 @@ package com.jme3.gde.core.appstates;
import com.jme3.app.state.AppState;
import com.jme3.app.state.AppStateManager;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.properties.SceneExplorerProperty;
import com.jme3.gde.core.properties.ScenePropertyChangeListener;
import com.jme3.gde.core.scene.SceneSyncListener;
import com.jme3.gde.core.util.PropertyUtils;
import java.awt.Image;
import java.beans.PropertyDescriptor;
import java.io.IOException;
import java.lang.reflect.Field;
@ -71,16 +73,16 @@ public class AppStateNode extends AbstractNode implements ScenePropertyChangeLis
// setIconBaseWithExtension(ICON_ENABLED);
}
// @Override
// public Image getIcon(int type) {
// return icon;
//
// }
//
// @Override
// public Image getOpenedIcon(int type) {
// return icon;
// }
@Override
public Image getIcon(int type) {
return IconList.wheel.getImage();
}
@Override
public Image getOpenedIcon(int type) {
return IconList.wheel.getImage();
}
//
// public void toggleIcon(boolean enabled) {
// if (enabled) {

Loading…
Cancel
Save