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


Java TransGraph.editProperties方法代码示例

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


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

示例1: editTransformationProperties

import org.pentaho.di.ui.spoon.trans.TransGraph; //导入方法依赖的package包/类
public void editTransformationProperties() {
	TransGraph.editProperties(getActiveTransformation(), this, rep, true);
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:4,代码来源:Spoon.java

示例2: editTransformationPropertiesPopup

import org.pentaho.di.ui.spoon.trans.TransGraph; //导入方法依赖的package包/类
public void editTransformationPropertiesPopup() {
	TransGraph.editProperties((TransMeta) selectionObject, this, rep, true);
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:4,代码来源:Spoon.java

示例3: doubleClickedInTree

import org.pentaho.di.ui.spoon.trans.TransGraph; //导入方法依赖的package包/类
/**
 * Reaction to double click
 * 
 */
private void doubleClickedInTree(Tree tree) {
	TreeSelection[] objects = getTreeObjects(tree);
	if (objects.length != 1) {
		return; // not yet supported, we can do this later when the OSX bug goes away
	}

	TreeSelection object = objects[0];

	final Object selection = object.getSelection();
	final Object parent = object.getParent();

	if (selection instanceof Class) {
		if (selection.equals(TransMeta.class))
			newTransFile();
		if (selection.equals(JobMeta.class))
			newJobFile();
		if (selection.equals(TransHopMeta.class))
			newHop((TransMeta) parent);
		if (selection.equals(DatabaseMeta.class))
			delegates.db.newConnection();
		if (selection.equals(PartitionSchema.class))
			newPartitioningSchema((TransMeta) parent);
		if (selection.equals(ClusterSchema.class))
			newClusteringSchema((TransMeta) parent);
		if (selection.equals(SlaveServer.class))
			newSlaveServer((HasSlaveServersInterface) parent);
	} else {
		if (selection instanceof TransMeta)
			TransGraph.editProperties((TransMeta) selection, this, rep, true);
		if (selection instanceof JobMeta)
			JobGraph.editProperties((JobMeta) selection, this, rep, true);
		if (selection instanceof StepPlugin)
			newStep(getActiveTransformation());
		if (selection instanceof DatabaseMeta)
			delegates.db.editConnection((DatabaseMeta) selection);
		if (selection instanceof StepMeta)
			delegates.steps.editStep((TransMeta) parent, (StepMeta) selection);
		if (selection instanceof JobEntryCopy)
			editJobEntry((JobMeta) parent, (JobEntryCopy) selection);
		if (selection instanceof TransHopMeta)
			editHop((TransMeta) parent, (TransHopMeta) selection);
		if (selection instanceof PartitionSchema)
			editPartitionSchema((TransMeta) parent, (PartitionSchema) selection);
		if (selection instanceof ClusterSchema)
			editClusterSchema((TransMeta) parent, (ClusterSchema) selection);
		if (selection instanceof SlaveServer)
			editSlaveServer((SlaveServer) selection);
	}
}
 
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:54,代码来源:Spoon.java

示例4: editTransformationProperties

import org.pentaho.di.ui.spoon.trans.TransGraph; //导入方法依赖的package包/类
public boolean editTransformationProperties() {
  return TransGraph.editProperties(getActiveTransformation(), this, rep, true);
}
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:4,代码来源:Spoon.java

示例5: editTransformationPropertiesPopup

import org.pentaho.di.ui.spoon.trans.TransGraph; //导入方法依赖的package包/类
public void editTransformationPropertiesPopup() {
  TransGraph.editProperties((TransMeta) selectionObject, this, rep, true);
}
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:4,代码来源:Spoon.java

示例6: doubleClickedInTree

import org.pentaho.di.ui.spoon.trans.TransGraph; //导入方法依赖的package包/类
/**
 * Reaction to double click
 * 
 */
private void doubleClickedInTree(Tree tree) {
  TreeSelection[] objects = getTreeObjects(tree);
  if (objects.length != 1) {
    return; // not yet supported, we can do this later when the OSX bug
    // goes away
  }

  TreeSelection object = objects[0];

  final Object selection = object.getSelection();
  final Object parent = object.getParent();

  if (selection instanceof Class<?>) {
    if (selection.equals(TransMeta.class))
      newTransFile();
    if (selection.equals(JobMeta.class))
      newJobFile();
    if (selection.equals(TransHopMeta.class))
      newHop((TransMeta) parent);
    if (selection.equals(DatabaseMeta.class))
      delegates.db.newConnection();
    if (selection.equals(PartitionSchema.class))
      newPartitioningSchema((TransMeta) parent);
    if (selection.equals(ClusterSchema.class))
      newClusteringSchema((TransMeta) parent);
    if (selection.equals(SlaveServer.class))
      newSlaveServer((HasSlaveServersInterface) parent);
  } else {
    if (selection instanceof TransMeta)
      TransGraph.editProperties((TransMeta) selection, this, rep, true);
    if (selection instanceof JobMeta)
      JobGraph.editProperties((JobMeta) selection, this, rep, true);
    if (selection instanceof PluginInterface)
      newStep(getActiveTransformation());
    if (selection instanceof DatabaseMeta)
      delegates.db.editConnection((DatabaseMeta) selection);
    if (selection instanceof StepMeta)
      delegates.steps.editStep((TransMeta) parent, (StepMeta) selection);
    if (selection instanceof JobEntryCopy)
      editJobEntry((JobMeta) parent, (JobEntryCopy) selection);
    if (selection instanceof TransHopMeta)
      editHop((TransMeta) parent, (TransHopMeta) selection);
    if (selection instanceof PartitionSchema)
      editPartitionSchema((TransMeta) parent, (PartitionSchema) selection);
    if (selection instanceof ClusterSchema)
      editClusterSchema((TransMeta) parent, (ClusterSchema) selection);
    if (selection instanceof SlaveServer)
      editSlaveServer((SlaveServer) selection);
  }
}
 
开发者ID:yintaoxue,项目名称:read-open-source-code,代码行数:55,代码来源:Spoon.java

示例7: editTransformationProperties

import org.pentaho.di.ui.spoon.trans.TransGraph; //导入方法依赖的package包/类
public boolean editTransformationProperties() {
  return TransGraph.editProperties( getActiveTransformation(), this, rep, true );
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:4,代码来源:Spoon.java

示例8: editTransformationPropertiesPopup

import org.pentaho.di.ui.spoon.trans.TransGraph; //导入方法依赖的package包/类
public void editTransformationPropertiesPopup() {
  TransGraph.editProperties( (TransMeta) selectionObject, this, rep, true );
}
 
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:4,代码来源:Spoon.java


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