本文整理汇总了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);
}
示例2: editTransformationPropertiesPopup
import org.pentaho.di.ui.spoon.trans.TransGraph; //导入方法依赖的package包/类
public void editTransformationPropertiesPopup() {
TransGraph.editProperties((TransMeta) selectionObject, this, rep, true);
}
示例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);
}
}
示例4: editTransformationProperties
import org.pentaho.di.ui.spoon.trans.TransGraph; //导入方法依赖的package包/类
public boolean editTransformationProperties() {
return TransGraph.editProperties(getActiveTransformation(), this, rep, true);
}
示例5: editTransformationPropertiesPopup
import org.pentaho.di.ui.spoon.trans.TransGraph; //导入方法依赖的package包/类
public void editTransformationPropertiesPopup() {
TransGraph.editProperties((TransMeta) selectionObject, this, rep, true);
}
示例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);
}
}
示例7: editTransformationProperties
import org.pentaho.di.ui.spoon.trans.TransGraph; //导入方法依赖的package包/类
public boolean editTransformationProperties() {
return TransGraph.editProperties( getActiveTransformation(), this, rep, true );
}
示例8: editTransformationPropertiesPopup
import org.pentaho.di.ui.spoon.trans.TransGraph; //导入方法依赖的package包/类
public void editTransformationPropertiesPopup() {
TransGraph.editProperties( (TransMeta) selectionObject, this, rep, true );
}