Revision 14821 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/command/CommandStackDialog.java

View differences:

CommandStackDialog.java
43 43
	protected boolean refreshing;
44 44
	private JPanel pCenter = null;
45 45
	private JScrollPane jScrollPane = null;
46
	private static final ImageIcon imodify = new ImageIcon(AddLayer.class.getClassLoader()
47
			.getResource("images/ModifyCommand.png"));
48
	private static final ImageIcon iadd = new ImageIcon(AddLayer.class.getClassLoader()
49
			.getResource("images/AddCommand.png"));
46
	private static final ImageIcon imodify=PluginServices.getIconTheme()
47
		.get("edition-modify-command");
48
	private static final ImageIcon iadd= PluginServices.getIconTheme()
49
		.get("edition-add-command");
50 50

  
51
	private static final ImageIcon idel = new ImageIcon(AddLayer.class.getClassLoader()
52
			.getResource("images/DelCommand.png"));
51
	private static final ImageIcon idel = PluginServices.getIconTheme()
52
		.get("edition-del-command");
53
	
53 54
	/**
54 55
	 * This is the default constructor
55 56
	 */
......
58 59
		//this.cr=cr;
59 60
		//cr.addCommandListener(this);
60 61
		initialize();
61
		//System.err.println("Identificaci?n del objeto en constructor = "+ cr.toString());
62
		//System.err.println("Identificacin del objeto en constructor = "+ cr.toString());
62 63
	}
63 64
	public void setModel(CommandRecord cr1){
64
//		System.err.println("Identificaci?n del objeto en setModel = "+ cr1.toString());
65
//		System.err.println("Identificacin del objeto en setModel = "+ cr1.toString());
65 66
		if (this.cr!= null && this.cr.equals(cr1))
66 67
			return;
67 68
		this.cr=cr1;

Also available in: Unified diff