当前位置: 首页>>代码示例>>Java>>正文


Java IViewSite.getSecondaryId方法代码示例

本文整理汇总了Java中org.eclipse.ui.IViewSite.getSecondaryId方法的典型用法代码示例。如果您正苦于以下问题:Java IViewSite.getSecondaryId方法的具体用法?Java IViewSite.getSecondaryId怎么用?Java IViewSite.getSecondaryId使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.eclipse.ui.IViewSite的用法示例。


在下文中一共展示了IViewSite.getSecondaryId方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: init

import org.eclipse.ui.IViewSite; //导入方法依赖的package包/类
@Override
public void init(IViewSite site, IMemento memento) throws PartInitException {
	super.init(site, memento);
	this.memento = memento;
	String secId = site.getSecondaryId();
	String ids[] = secId.split("&");
	serverId = CastUtil.cint(ids[0]);
}
 
开发者ID:scouter-project,项目名称:scouter,代码行数:9,代码来源:VisitorRealtimeView.java

示例2: init

import org.eclipse.ui.IViewSite; //导入方法依赖的package包/类
public void init(IViewSite site) throws PartInitException {
	super.init(site);
	String secId = site.getSecondaryId();
	String ids[] = secId.split("&");
	serverId = CastUtil.cint(ids[0]);
	objHash = CastUtil.cint(ids[1]);
	objType = ids[2];
	title = ids[3];
	for (int i = 4; i < ids.length; i++) {
		counters.add(ids[i]);
	}
}
 
开发者ID:scouter-project,项目名称:scouter,代码行数:13,代码来源:CounterRealTimeMultiView.java

示例3: init

import org.eclipse.ui.IViewSite; //导入方法依赖的package包/类
public void init(IViewSite site) throws PartInitException {
	super.init(site);
	String secId = site.getSecondaryId();
	String ids[] = secId.split("&");
	serverId = Integer.valueOf(ids[0]);
	objType = ids[1];
}
 
开发者ID:scouter-project,项目名称:scouter,代码行数:8,代码来源:ServiceGroupTPSView.java

示例4: init

import org.eclipse.ui.IViewSite; //导入方法依赖的package包/类
public void init(IViewSite site) throws PartInitException {
	super.init(site);
	String secondaryId = site.getSecondaryId();
	if (secondaryId != null) {
		String secIds[] = secondaryId.split("_");
		serverId = Integer.parseInt(secIds[0]);
		objHash = Integer.parseInt(secIds[1]);
	}
	
}
 
开发者ID:scouter-project,项目名称:scouter,代码行数:11,代码来源:ObjectDumpFileListView.java

示例5: init

import org.eclipse.ui.IViewSite; //导入方法依赖的package包/类
public void init(IViewSite site) throws PartInitException {
	super.init(site);
	String secId = site.getSecondaryId();
	String[] ids = StringUtil.split(secId, "&");
	this.serverId = CastUtil.cint(ids[0]);
	this.objType = ids[1];
	this.counter = ids[2];
}
 
开发者ID:scouter-project,项目名称:scouter,代码行数:9,代码来源:CounterTodayAllView.java

示例6: init

import org.eclipse.ui.IViewSite; //导入方法依赖的package包/类
public void init(IViewSite site) throws PartInitException {
	super.init(site);
	String secId = site.getSecondaryId();
	String[] datas = secId.split("&");
	grpName = datas[0];
	objType = datas[1];
	counter = datas[2];
}
 
开发者ID:scouter-project,项目名称:scouter,代码行数:9,代码来源:CounterPastTimeGroupAllView.java

示例7: init

import org.eclipse.ui.IViewSite; //导入方法依赖的package包/类
public void init(IViewSite site) throws PartInitException {
	super.init(site);
	String secId = site.getSecondaryId();
	statusMessage = secId;
	String[] datas = secId.split("&");
	grpName = datas[0];
	objType = datas[1];
	counter = datas[2];
}
 
开发者ID:scouter-project,项目名称:scouter,代码行数:10,代码来源:CounterTodayGroupAllView.java

示例8: init

import org.eclipse.ui.IViewSite; //导入方法依赖的package包/类
public void init(IViewSite site) throws PartInitException {
	super.init(site);
	String secId = site.getSecondaryId();
	String[] ids = StringUtil.split(secId, "&");
	this.serverId = CastUtil.cint(ids[0]);
	this.objType = ids[1];
	this.counter = ids[2];
	this.mode = CounterUtil.getTotalMode(objType, counter);
}
 
开发者ID:scouter-project,项目名称:scouter,代码行数:10,代码来源:CounterTodayCountView.java

示例9: init

import org.eclipse.ui.IViewSite; //导入方法依赖的package包/类
@Override
public void init(IViewSite site) throws PartInitException {
	super.init(site);
	String secId = site.getSecondaryId();
	String ids[] = secId.split("&");
	serverId = CastUtil.cint(ids[0]);
	date = ids[1];
}
 
开发者ID:scouter-project,项目名称:scouter,代码行数:9,代码来源:VisitorLoadView.java

示例10: init

import org.eclipse.ui.IViewSite; //导入方法依赖的package包/类
public void init(IViewSite site) throws PartInitException {
	super.init(site);
	String secId = site.getSecondaryId();
	String[] datas = secId.split("&");
	grpName = datas[0];
	objType = datas[1];
}
 
开发者ID:scouter-project,项目名称:scouter,代码行数:8,代码来源:XLogRealTimeGroupView.java

示例11: init

import org.eclipse.ui.IViewSite; //导入方法依赖的package包/类
public void init(IViewSite site) throws PartInitException {
	super.init(site);
	String secId = site.getSecondaryId();
	String ids[] = secId.split("&");
	this.serverId = CastUtil.cint(ids[0]);
	this.objType = ids[1];
	if (ids.length > 2) {
		this.objHash = CastUtil.cint(ids[2]);
	}
}
 
开发者ID:scouter-project,项目名称:scouter,代码行数:11,代码来源:ObjectBatchActiveListView.java

示例12: init

import org.eclipse.ui.IViewSite; //导入方法依赖的package包/类
public void init(IViewSite site) throws PartInitException {
	super.init(site);
	String secId = site.getSecondaryId();
	grpName = secId;
}
 
开发者ID:scouter-project,项目名称:scouter,代码行数:6,代码来源:ServiceGroupElapsedGroupView.java

示例13: init

import org.eclipse.ui.IViewSite; //导入方法依赖的package包/类
public void init(IViewSite site) throws PartInitException {
	super.init(site);
	String secId = site.getSecondaryId();
	this.serverId = CastUtil.cint(secId);
}
 
开发者ID:scouter-project,项目名称:scouter,代码行数:6,代码来源:DigestTableView.java

示例14: init

import org.eclipse.ui.IViewSite; //导入方法依赖的package包/类
public void init(IViewSite site) throws PartInitException {
	super.init(site);
	String secId = site.getSecondaryId();
	serverId = Integer.valueOf(secId);
	yyyymmdd = DateUtil.yyyymmdd(TimeUtil.getCurrentTime(serverId));
}
 
开发者ID:scouter-project,项目名称:scouter,代码行数:7,代码来源:AlertDetailListView.java

示例15: init

import org.eclipse.ui.IViewSite; //导入方法依赖的package包/类
public void init(IViewSite site) throws PartInitException {
	super.init(site);
	String secId = site.getSecondaryId();
	serverId = CastUtil.cint(secId);
}
 
开发者ID:scouter-project,项目名称:scouter,代码行数:6,代码来源:DbTodayTotalConnView.java


注:本文中的org.eclipse.ui.IViewSite.getSecondaryId方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。