⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rcpapplication.java

📁 基于RCP实现的CRM系统, 数据库使用mysql数据库, 是学习RCP应用和插件的很好的例子
💻 JAVA
字号:
package superCRM.business;

import superCRM.model.IContactSerivce;
import superCRM.model.ICustomerSerivce;
import superCRM.model.ISuperApplication;

public class RcpApplication implements ISuperApplication {

	/** 定义客户服务对象 */
	private ICustomerSerivce customerSerivce = null;

	/** 定义联系人服务对象 */
	private IContactSerivce contactSerivce = null;

	/** 获得客户服务对象 */
	public ICustomerSerivce getCustomerSerivce() {
		if (customerSerivce == null) {
			customerSerivce = new CustomerSerivce();
		}
		return customerSerivce;
	}

	/** 获得联系人服务对象 */
	public IContactSerivce getContactSerivce() {
		if (contactSerivce == null) {
			contactSerivce = new ContactSerivce();
		}
		return contactSerivce;
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -