Revision 6880 trunk/frameworks/_fwAndami/src/com/iver/andami/preferences/GenericDlgPreferences.java

View differences:

GenericDlgPreferences.java
63 63

  
64 64
import com.iver.andami.PluginServices;
65 65
import com.iver.andami.ui.mdiManager.IWindow;
66
import com.iver.andami.ui.mdiManager.ViewInfo;
66
import com.iver.andami.ui.mdiManager.WindowInfo;
67 67
import com.iver.utiles.extensionPoints.ExtensionPoint;
68 68
import com.iver.utiles.extensionPoints.ExtensionPoints;
69 69
import com.iver.utiles.extensionPoints.ExtensionPointsSingleton;
......
75 75
 * in a local way. Then, you don't need to be a SingletonView.
76 76
 */
77 77
public class GenericDlgPreferences extends JPanel implements IWindow {
78
	private ViewInfo viewInfo = null;
78
	private WindowInfo viewInfo = null;
79 79
	private IPreference activePreference;
80 80

  
81 81
	private static Hashtable preferences = new Hashtable();
......
251 251
		add(c);
252 252
	}
253 253

  
254
	public ViewInfo getViewInfo() {
254
	public WindowInfo getWindowInfo() {
255 255
		if (viewInfo == null) {
256
			viewInfo = new ViewInfo(ViewInfo.MODALDIALOG | ViewInfo.RESIZABLE | ViewInfo.PALETTE);
256
			viewInfo = new WindowInfo(WindowInfo.MODALDIALOG | WindowInfo.RESIZABLE | WindowInfo.PALETTE);
257 257
			viewInfo.setTitle(PluginServices.getText(this,
258 258
					"Preferences"));
259 259
			viewInfo.setWidth(this.getWidth()+8);
......
414 414
	}
415 415

  
416 416
	private void closeView() {
417
		PluginServices.getMDIManager().closeView(this);
417
		PluginServices.getMDIManager().closeWindow(this);
418 418
	}
419 419

  
420 420
	/**

Also available in: Unified diff