public static void edit(RSInterface rsi) {
		if (rsi == null) {
			return;
		}
		if (rsi.locked) {
			return;
		}
		switch (rsi.type) {
			case 0:
				Main.getInstance().selectInterface(rsi.id);
				break;
			case 4:
				//setText(rsi, JOptionPane.showInputDialog(null, "Enter new text:", rsi.disabledText));
				new TextPane(rsi);
				break;
			case 5:
				new ImagePane(rsi);
				break;
		}
	}