• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java UndoInterface类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中org.pentaho.di.core.gui.UndoInterface的典型用法代码示例。如果您正苦于以下问题:Java UndoInterface类的具体用法?Java UndoInterface怎么用?Java UndoInterface使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



UndoInterface类属于org.pentaho.di.core.gui包,在下文中一共展示了UndoInterface类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: undoAction

import org.pentaho.di.core.gui.UndoInterface; //导入依赖的package包/类
public void undoAction(UndoInterface undoInterface) {
	if (undoInterface == null)
		return;

	TransAction ta = undoInterface.previousUndo();
	if (ta == null)
		return;

	setUndoMenu(undoInterface); // something changed: change the menu

	if (undoInterface instanceof TransMeta)
		delegates.trans.undoTransformationAction((TransMeta) undoInterface, ta);
	if (undoInterface instanceof JobMeta)
		delegates.jobs.undoJobAction((JobMeta) undoInterface, ta);

	// Put what we undo in focus
	if (undoInterface instanceof TransMeta) {
		TransGraph transGraph = delegates.trans.findTransGraphOfTransformation((TransMeta) undoInterface);
		transGraph.forceFocus();
	}
	if (undoInterface instanceof JobMeta) {
		JobGraph jobGraph = delegates.jobs.findJobGraphOfJob((JobMeta) undoInterface);
		jobGraph.forceFocus();
	}
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:26,代码来源:Spoon.java


示例2: redoAction

import org.pentaho.di.core.gui.UndoInterface; //导入依赖的package包/类
public void redoAction(UndoInterface undoInterface) {
	if (undoInterface == null)
		return;

	TransAction ta = undoInterface.nextUndo();
	if (ta == null)
		return;

	setUndoMenu(undoInterface); // something changed: change the menu

	if (undoInterface instanceof TransMeta)
		delegates.trans.redoTransformationAction((TransMeta) undoInterface, ta);
	if (undoInterface instanceof JobMeta)
		delegates.jobs.redoJobAction((JobMeta) undoInterface, ta);

	// Put what we redo in focus
	if (undoInterface instanceof TransMeta) {
		TransGraph transGraph = delegates.trans.findTransGraphOfTransformation((TransMeta) undoInterface);
		transGraph.forceFocus();
	}
	if (undoInterface instanceof JobMeta) {
		JobGraph jobGraph = delegates.jobs.findJobGraphOfJob((JobMeta) undoInterface);
		jobGraph.forceFocus();
	}
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:26,代码来源:Spoon.java


示例3: setUndoMenu

import org.pentaho.di.core.gui.UndoInterface; //导入依赖的package包/类
/**
 * Sets the text and enabled settings for the undo and redo menu items
 * 
 * @param undoInterface
 *            the object which holds the undo/redo information
 */
public void setUndoMenu(UndoInterface undoInterface) {
	if (shell.isDisposed())
		return;

	TransAction prev = undoInterface != null ? undoInterface.viewThisUndo() : null;
	TransAction next = undoInterface != null ? undoInterface.viewNextUndo() : null;

	// Set the menubar text
	menuBar.setTextById(UNDO_MENUITEM, prev == null ? UNDO_UNAVAILABLE : Messages.getString("Spoon.Menu.Undo.Available", prev.toString())); //$NON-NLS-1$
	menuBar.setTextById(REDO_MENUITEM, next == null ? REDO_UNAVAILABLE : Messages.getString("Spoon.Menu.Redo.Available", next.toString())); //$NON-NLS-1$

	// Set the enabled flags
	menuBar.setEnableById(UNDO_MENUITEM, prev != null);
	menuBar.setEnableById(REDO_MENUITEM, next != null);
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:22,代码来源:Spoon.java


示例4: dupeConnection

import org.pentaho.di.core.gui.UndoInterface; //导入依赖的package包/类
public void dupeConnection(HasDatabasesInterface hasDatabasesInterface, DatabaseMeta databaseMeta)
{
	String name = databaseMeta.getName();
	int pos = hasDatabasesInterface.indexOfDatabase(databaseMeta);
	if (databaseMeta != null)
	{
		DatabaseMeta databaseMetaCopy = (DatabaseMeta) databaseMeta.clone();
		String dupename = BaseMessages.getString(PKG, "Spoon.Various.DupeName") + name;
		databaseMetaCopy.setName(dupename);

		getDatabaseDialog().setDatabaseMeta(databaseMetaCopy);
		
		String newname = getDatabaseDialog().open();
		if (newname != null) // null: CANCEL
		{
			databaseMetaCopy.verifyAndModifyDatabaseName(hasDatabasesInterface.getDatabases(), name);
			hasDatabasesInterface.addDatabase(pos + 1, databaseMetaCopy);
			spoon
					.addUndoNew((UndoInterface) hasDatabasesInterface,
							new DatabaseMeta[] { (DatabaseMeta) databaseMetaCopy.clone() },
							new int[] { pos + 1 });
			saveConnection(databaseMetaCopy, Const.VERSION_COMMENT_EDIT_VERSION);
			spoon.refreshTree();
		}
	}
}
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:27,代码来源:SpoonDBDelegate.java


示例5: undoAction

import org.pentaho.di.core.gui.UndoInterface; //导入依赖的package包/类
public void undoAction(UndoInterface undoInterface) {
  if (undoInterface == null)
    return;

  TransAction ta = undoInterface.previousUndo();
  if (ta == null)
    return;

  setUndoMenu(undoInterface); // something changed: change the menu

  if (undoInterface instanceof TransMeta)
    delegates.trans.undoTransformationAction((TransMeta) undoInterface, ta);
  if (undoInterface instanceof JobMeta)
    delegates.jobs.undoJobAction((JobMeta) undoInterface, ta);

  // Put what we undo in focus
  if (undoInterface instanceof TransMeta) {
    TransGraph transGraph = delegates.trans.findTransGraphOfTransformation((TransMeta) undoInterface);
    transGraph.forceFocus();
  }
  if (undoInterface instanceof JobMeta) {
    JobGraph jobGraph = delegates.jobs.findJobGraphOfJob((JobMeta) undoInterface);
    jobGraph.forceFocus();
  }
}
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:26,代码来源:Spoon.java


示例6: redoAction

import org.pentaho.di.core.gui.UndoInterface; //导入依赖的package包/类
public void redoAction(UndoInterface undoInterface) {
  if (undoInterface == null)
    return;

  TransAction ta = undoInterface.nextUndo();
  if (ta == null)
    return;

  setUndoMenu(undoInterface); // something changed: change the menu

  if (undoInterface instanceof TransMeta)
    delegates.trans.redoTransformationAction((TransMeta) undoInterface, ta);
  if (undoInterface instanceof JobMeta)
    delegates.jobs.redoJobAction((JobMeta) undoInterface, ta);

  // Put what we redo in focus
  if (undoInterface instanceof TransMeta) {
    TransGraph transGraph = delegates.trans.findTransGraphOfTransformation((TransMeta) undoInterface);
    transGraph.forceFocus();
  }
  if (undoInterface instanceof JobMeta) {
    JobGraph jobGraph = delegates.jobs.findJobGraphOfJob((JobMeta) undoInterface);
    jobGraph.forceFocus();
  }
}
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:26,代码来源:Spoon.java


示例7: dupeConnection

import org.pentaho.di.core.gui.UndoInterface; //导入依赖的package包/类
public void dupeConnection( HasDatabasesInterface hasDatabasesInterface, DatabaseMeta databaseMeta ) {
  String name = databaseMeta.getName();
  int pos = hasDatabasesInterface.indexOfDatabase( databaseMeta );
  if ( databaseMeta != null ) {
    DatabaseMeta databaseMetaCopy = (DatabaseMeta) databaseMeta.clone();
    String dupename = BaseMessages.getString( PKG, "Spoon.Various.DupeName" ) + name;
    databaseMetaCopy.setName( dupename );

    getDatabaseDialog().setDatabaseMeta( databaseMetaCopy );

    String newname = getDatabaseDialog().open();
    if ( newname != null ) { // null: CANCEL

      databaseMetaCopy.verifyAndModifyDatabaseName( hasDatabasesInterface.getDatabases(), name );
      hasDatabasesInterface.addDatabase( pos + 1, databaseMetaCopy );
      spoon.addUndoNew(
        (UndoInterface) hasDatabasesInterface, new DatabaseMeta[] { (DatabaseMeta) databaseMetaCopy.clone() },
        new int[] { pos + 1 } );
      saveConnection( databaseMetaCopy, Const.VERSION_COMMENT_EDIT_VERSION );
      spoon.refreshTree();
    }
  }
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:24,代码来源:SpoonDBDelegate.java


示例8: editConnection

import org.pentaho.di.core.gui.UndoInterface; //导入依赖的package包/类
public void editConnection(DatabaseMeta databaseMeta)
{
	HasDatabasesInterface hasDatabasesInterface = spoon.getActiveHasDatabasesInterface();
	if (hasDatabasesInterface == null)
		return; // program error, exit just to make sure.

	DatabaseMeta before = (DatabaseMeta) databaseMeta.clone();

	// DatabaseDialog con = new DatabaseDialog(spoon.getShell(), databaseMeta);
   XulDatabaseDialog con = new XulDatabaseDialog(spoon.getShell(), databaseMeta);
	con.setDatabases(hasDatabasesInterface.getDatabases());
	String newname = con.open();
	if (!Const.isEmpty(newname)) // null: CANCEL
	{
	  databaseMeta = con.getDatabaseMeta();
		// newname =
		// db.verifyAndModifyDatabaseName(transMeta.getDatabases(), name);

		// Store undo/redo information
		DatabaseMeta after = (DatabaseMeta) databaseMeta.clone();
		spoon.addUndoChange((UndoInterface) hasDatabasesInterface, new DatabaseMeta[] { before },
				new DatabaseMeta[] { after }, new int[] { hasDatabasesInterface
						.indexOfDatabase(databaseMeta) });

		saveConnection(databaseMeta);

		spoon.refreshTree();
	}
	spoon.setShellText();
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:31,代码来源:SpoonDBDelegate.java


示例9: dupeConnection

import org.pentaho.di.core.gui.UndoInterface; //导入依赖的package包/类
public void dupeConnection(HasDatabasesInterface hasDatabasesInterface, DatabaseMeta databaseMeta)
{
	String name = databaseMeta.getName();
	int pos = hasDatabasesInterface.indexOfDatabase(databaseMeta);
	if (databaseMeta != null)
	{
		DatabaseMeta databaseMetaCopy = (DatabaseMeta) databaseMeta.clone();
		String dupename = Messages.getString("Spoon.Various.DupeName") + name; // "(copy
		// of)
		// "
		databaseMetaCopy.setName(dupename);

		DatabaseDialog con = new DatabaseDialog(spoon.getShell(), databaseMetaCopy);
		String newname = con.open();
		if (newname != null) // null: CANCEL
		{
			databaseMetaCopy.verifyAndModifyDatabaseName(hasDatabasesInterface.getDatabases(), name);
			hasDatabasesInterface.addDatabase(pos + 1, databaseMetaCopy);
			spoon
					.addUndoNew((UndoInterface) hasDatabasesInterface,
							new DatabaseMeta[] { (DatabaseMeta) databaseMetaCopy.clone() },
							new int[] { pos + 1 });
			saveConnection(databaseMetaCopy);
			spoon.refreshTree();
		}
	}
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:28,代码来源:SpoonDBDelegate.java


示例10: delConnection

import org.pentaho.di.core.gui.UndoInterface; //导入依赖的package包/类
/**
 * Delete a database connection
 * 
 * @param name
 *            The name of the database connection.
 */
public void delConnection(HasDatabasesInterface hasDatabasesInterface, DatabaseMeta db)
{
	int pos = hasDatabasesInterface.indexOfDatabase(db);
	boolean worked = false;

	// delete from repository?
	Repository rep = spoon.getRepository();
	if (rep != null)
	{
		if (!rep.getSecurityProvider().isReadOnly())
		{
			try {
				rep.deleteDatabaseMeta(db.getName());
				worked = true;
			} catch (KettleException dbe) {
				new ErrorDialog(spoon.getShell(), BaseMessages.getString(PKG, "Spoon.Dialog.ErrorDeletingConnection.Title"), BaseMessages.getString(PKG, "Spoon.Dialog.ErrorDeletingConnection.Message", db.getName()), dbe);
			}
		} 
		else
		{
			new ErrorDialog(spoon.getShell(), BaseMessages.getString(PKG, "Spoon.Dialog.ErrorDeletingConnection.Title"), 
					BaseMessages.getString(PKG, "Spoon.Dialog.ErrorDeletingConnection.Message", db.getName()), 
					new KettleException(BaseMessages.getString(PKG, "Spoon.Dialog.Exception.ReadOnlyUser")));
		}
	}

	if (spoon.getRepository() == null || worked)
	{
		spoon.addUndoDelete((UndoInterface) hasDatabasesInterface, new DatabaseMeta[] { (DatabaseMeta) db
				.clone() }, new int[] { pos });
		hasDatabasesInterface.removeDatabase(pos);
		DBCache.getInstance().clear(db.getName());  // remove this from the cache as well.
	}

	spoon.refreshTree();
	spoon.setShellText();
}
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:44,代码来源:SpoonDBDelegate.java


示例11: newConnection

import org.pentaho.di.core.gui.UndoInterface; //导入依赖的package包/类
public void newConnection(HasDatabasesInterface hasDatabasesInterface) {

		DatabaseMeta databaseMeta = new DatabaseMeta();
		if (hasDatabasesInterface instanceof VariableSpace) {
			databaseMeta.shareVariablesWith((VariableSpace) hasDatabasesInterface);
		} else {
			databaseMeta.initializeVariablesFrom(null);
		}


		getDatabaseDialog().setDatabaseMeta(databaseMeta);
		String con_name = getDatabaseDialog().open();
		if (!Const.isEmpty(con_name)) {
			databaseMeta = getDatabaseDialog().getDatabaseMeta();

			databaseMeta.verifyAndModifyDatabaseName(hasDatabasesInterface.getDatabases(), null);
			hasDatabasesInterface.addDatabase(databaseMeta);
			spoon.addUndoNew((UndoInterface) hasDatabasesInterface, new DatabaseMeta[] { (DatabaseMeta) databaseMeta.clone() }, new int[] { hasDatabasesInterface.indexOfDatabase(databaseMeta) });
			if (spoon.rep!=null) {
				try {
					if (!spoon.rep.getSecurityProvider().isReadOnly()) {
						spoon.rep.save(databaseMeta, Const.VERSION_COMMENT_INITIAL_VERSION, null);
					} else {
						throw new KettleException(BaseMessages.getString(PKG, "Spoon.Dialog.Exception.ReadOnlyRepositoryUser"));
					}
				} catch (KettleException e) {
					new ErrorDialog(spoon.getShell(), BaseMessages.getString(PKG, "Spoon.Dialog.ErrorSavingConnection.Title"), BaseMessages.getString(PKG, "Spoon.Dialog.ErrorSavingConnection.Message", databaseMeta.getName()), e);
				}
			}
			spoon.refreshTree();
		}			
	}
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:33,代码来源:SpoonDBDelegate.java


示例12: delConnection

import org.pentaho.di.core.gui.UndoInterface; //导入依赖的package包/类
/**
 * Delete a database connection
 *
 * @param name
 *          The name of the database connection.
 */
public void delConnection( HasDatabasesInterface hasDatabasesInterface, DatabaseMeta db ) {
  int pos = hasDatabasesInterface.indexOfDatabase( db );
  boolean worked = false;

  // delete from repository?
  Repository rep = spoon.getRepository();
  if ( rep != null ) {
    if ( !rep.getSecurityProvider().isReadOnly() ) {
      try {
        rep.deleteDatabaseMeta( db.getName() );
        worked = true;
      } catch ( KettleException dbe ) {
        new ErrorDialog( spoon.getShell(),
          BaseMessages.getString( PKG, "Spoon.Dialog.ErrorDeletingConnection.Title" ),
          BaseMessages.getString( PKG, "Spoon.Dialog.ErrorDeletingConnection.Message", db.getName() ), dbe );
      }
    } else {
      new ErrorDialog( spoon.getShell(),
        BaseMessages.getString( PKG, "Spoon.Dialog.ErrorDeletingConnection.Title" ),
        BaseMessages.getString( PKG, "Spoon.Dialog.ErrorDeletingConnection.Message", db.getName() ),
        new KettleException( BaseMessages.getString( PKG, "Spoon.Dialog.Exception.ReadOnlyUser" ) ) );
    }
  }

  if ( spoon.getRepository() == null || worked ) {
    spoon.addUndoDelete(
      (UndoInterface) hasDatabasesInterface, new DatabaseMeta[] { (DatabaseMeta) db.clone() },
      new int[] { pos } );
    hasDatabasesInterface.removeDatabase( pos );
    DBCache.getInstance().clear( db.getName() ); // remove this from the cache as well.
  }

  spoon.refreshTree();
  spoon.setShellText();
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:42,代码来源:SpoonDBDelegate.java


示例13: addUndoPosition

import org.pentaho.di.core.gui.UndoInterface; //导入依赖的package包/类
@Override
public void addUndoPosition( UndoInterface undoInterface, Object[] obj, int[] pos, Point[] prev, Point[] curr ) {
  // It's better to store the indexes of the objects, not the objects
  // itself!
  undoInterface.addUndo( obj, null, pos, prev, curr, JobMeta.TYPE_UNDO_POSITION, false );
  setUndoMenu( undoInterface );
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:8,代码来源:Spoon.java


示例14: delConnection

import org.pentaho.di.core.gui.UndoInterface; //导入依赖的package包/类
/**
 * Delete a database connection
 * 
 * @param name
 *            The name of the database connection.
 */
public void delConnection(HasDatabasesInterface hasDatabasesInterface, DatabaseMeta db)
{
	int pos = hasDatabasesInterface.indexOfDatabase(db);
	boolean worked = false;

	// delete from repository?
	Repository rep = spoon.getRepository();
	if (rep != null)
	{
		if (!rep.getUserInfo().isReadonly())
		{
			try
			{
				long id_database = rep.getDatabaseID(db.getName());
				rep.delDatabase(id_database);

				worked = true;
			} catch (KettleException dbe)
			{

				new ErrorDialog(spoon.getShell(), Messages.getString("Spoon.Dialog.ErrorDeletingConnection.Title"), Messages.getString("Spoon.Dialog.ErrorDeletingConnection.Message", db.getName()), dbe);// "Error
				// deleting
				// connection
				// ["+db+"]
				// from
				// repository!"
			}
		} else
		{
			new ErrorDialog(spoon.getShell(), Messages.getString("Spoon.Dialog.ErrorDeletingConnection.Title"), 
					Messages.getString("Spoon.Dialog.ErrorDeletingConnection.Message", db.getName()), 
					new KettleException(Messages.getString("Spoon.Dialog.Exception.ReadOnlyUser")));// "Error
			// deleting
			// connection
			// ["+db+"]
			// from
			// repository!"
			// //This
			// user
			// is
			// read-only!
		}
	}

	if (spoon.getRepository() == null || worked)
	{
		spoon.addUndoDelete((UndoInterface) hasDatabasesInterface, new DatabaseMeta[] { (DatabaseMeta) db
				.clone() }, new int[] { pos });
		hasDatabasesInterface.removeDatabase(pos);
		DBCache.getInstance().clear(db.getName());  // remove this from the cache as well.
	}

	spoon.refreshTree();
	spoon.setShellText();
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:62,代码来源:SpoonDBDelegate.java


示例15: newConnection

import org.pentaho.di.core.gui.UndoInterface; //导入依赖的package包/类
public void newConnection()
{
	HasDatabasesInterface hasDatabasesInterface = spoon.getActiveHasDatabasesInterface();
	if (hasDatabasesInterface == null && spoon.rep==null)
	{
		return;
	}

	DatabaseMeta databaseMeta = new DatabaseMeta();
	if (hasDatabasesInterface instanceof VariableSpace) {
		databaseMeta.shareVariablesWith((VariableSpace)hasDatabasesInterface);
	}
	else {
		databaseMeta.initializeVariablesFrom(null);
	}
	
   // DatabaseDialog con = new DatabaseDialog(spoon.getShell(), databaseMeta);
   XulDatabaseDialog con = new XulDatabaseDialog(spoon.getShell(), databaseMeta);
   String con_name = con.open();
   if (!Const.isEmpty(con_name))
   {
     databaseMeta = con.getDatabaseMeta();
		if (hasDatabasesInterface!=null)
		{
			databaseMeta.verifyAndModifyDatabaseName(hasDatabasesInterface.getDatabases(), null);
			hasDatabasesInterface.addDatabase(databaseMeta);
			spoon.addUndoNew((UndoInterface) hasDatabasesInterface,
					new DatabaseMeta[] { (DatabaseMeta) databaseMeta.clone() },
					new int[] { hasDatabasesInterface.indexOfDatabase(databaseMeta) });
			saveConnection(databaseMeta);
			spoon.refreshTree();
		}
		else
		{
			// Save it in the repository...
			try 
			{
				if (!spoon.rep.userinfo.isReadonly())
				{
					RepositoryUtil.saveDatabaseMeta(databaseMeta,spoon.rep);
				}
				else
				{
					throw new KettleException(Messages.getString("Spoon.Dialog.Exception.ReadOnlyRepositoryUser"));
				}
			} 
			catch (KettleException e) 
			{
				new ErrorDialog(spoon.getShell(), Messages.getString("Spoon.Dialog.ErrorSavingConnection.Title"), Messages.getString("Spoon.Dialog.ErrorSavingConnection.Message", databaseMeta.getName()), e);
			}
		}
	}
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:54,代码来源:SpoonDBDelegate.java


示例16: getActiveUndoInterface

import org.pentaho.di.core.gui.UndoInterface; //导入依赖的package包/类
public UndoInterface getActiveUndoInterface() {
	return (UndoInterface) this.getActiveMeta();
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:4,代码来源:Spoon.java


示例17: addUndoNew

import org.pentaho.di.core.gui.UndoInterface; //导入依赖的package包/类
public void addUndoNew(UndoInterface undoInterface, Object obj[], int position[]) {
	addUndoNew(undoInterface, obj, position, false);
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:4,代码来源:Spoon.java


示例18: addUndoDelete

import org.pentaho.di.core.gui.UndoInterface; //导入依赖的package包/类
public void addUndoDelete(UndoInterface undoInterface, Object obj[], int position[]) {
	addUndoDelete(undoInterface, obj, position, false);
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:4,代码来源:Spoon.java


示例19: addUndoPosition

import org.pentaho.di.core.gui.UndoInterface; //导入依赖的package包/类
public void addUndoPosition(UndoInterface undoInterface, Object obj[], int pos[], Point prev[], Point curr[]) {
	// It's better to store the indexes of the objects, not the objects
	// itself!
	undoInterface.addUndo(obj, null, pos, prev, curr, JobMeta.TYPE_UNDO_POSITION, false);
	setUndoMenu(undoInterface);
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:7,代码来源:Spoon.java


示例20: addUndoChange

import org.pentaho.di.core.gui.UndoInterface; //导入依赖的package包/类
public void addUndoChange(UndoInterface undoInterface, Object from[], Object to[], int[] pos) {
	addUndoChange(undoInterface, from, to, pos, false);
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:4,代码来源:Spoon.java



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java MediaStoreSignature类代码示例发布时间:2022-05-23
下一篇:
Java FastConstructor类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap