本文整理汇总了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]);
}
示例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]);
}
}
示例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];
}
示例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]);
}
}
示例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];
}
示例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];
}
示例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];
}
示例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);
}
示例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];
}
示例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];
}
示例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]);
}
}
示例12: init
import org.eclipse.ui.IViewSite; //导入方法依赖的package包/类
public void init(IViewSite site) throws PartInitException {
super.init(site);
String secId = site.getSecondaryId();
grpName = secId;
}
示例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);
}
示例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));
}
示例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);
}