本文整理了Java中net.sourceforge.squirrel_sql.client.action.ActionCollection.actions()
方法的一些代码示例,展示了ActionCollection.actions()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ActionCollection.actions()
方法的具体详情如下:
包路径:net.sourceforge.squirrel_sql.client.action.ActionCollection
类名称:ActionCollection
方法名:actions
[英]Return an Iterator over this collection.
[中]返回此集合上的迭代器。
代码示例来源:origin: net.sf.squirrel-sql.plugins/mssql
@SuppressWarnings("unchecked")
private void removeActionsOfType(ActionCollection coll,java.lang.Class classType) {
java.lang.Object obj;
java.util.Iterator<Action> iter = coll.actions();
while (iter.hasNext()) {
obj = iter.next();
if (obj.getClass() == classType)
iter.remove();
}
}
代码示例来源:origin: net.sf.squirrel-sql/squirrel-sql
/**
* Specify the current session for actions.
*
* @param session The current session. Can be <tt>null</tt>.
*/
public synchronized void setCurrentSession(ISession session)
{
for (Iterator<Action> it = actions(); it.hasNext();)
{
final Action act = it.next();
if (act instanceof ISessionAction)
{
((ISessionAction)act).setSession(session);
}
}
}
代码示例来源:origin: realXuJiang/bigtable-sql
/**
* Specify the current session for actions.
*
* @param session The current session. Can be <tt>null</tt>.
*/
public synchronized void setCurrentSession(ISession session)
{
for (Iterator<Action> it = actions(); it.hasNext();)
{
final Action act = it.next();
if (act instanceof ISessionAction)
{
((ISessionAction)act).setSession(session);
}
}
}
代码示例来源:origin: net.sf.squirrel-sql/squirrel-sql
final boolean isSessionInternalFrame = (frame instanceof SessionInternalFrame);
for (Iterator<Action> it = actions(); it.hasNext();)
代码示例来源:origin: realXuJiang/bigtable-sql
final boolean isSessionInternalFrame = (frame instanceof SessionInternalFrame);
for (Iterator<Action> it = actions(); it.hasNext();)
代码示例来源:origin: net.sf.squirrel-sql/squirrel-sql
for (Iterator<Action> it = actions(); it.hasNext();)
代码示例来源:origin: realXuJiang/bigtable-sql
for (Iterator<Action> it = actions(); it.hasNext();)
内容来源于网络,如有侵权,请联系作者删除!