本文整理匯總了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);
}