本文整理汇总了Java中org.pentaho.di.repository.RepositoryElementMetaInterface.getObjectId方法的典型用法代码示例。如果您正苦于以下问题:Java RepositoryElementMetaInterface.getObjectId方法的具体用法?Java RepositoryElementMetaInterface.getObjectId怎么用?Java RepositoryElementMetaInterface.getObjectId使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.pentaho.di.repository.RepositoryElementMetaInterface
的用法示例。
在下文中一共展示了RepositoryElementMetaInterface.getObjectId方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: selectJobByReference
import org.pentaho.di.repository.RepositoryElementMetaInterface; //导入方法依赖的package包/类
protected void selectJobByReference() {
if (rep != null) {
SelectObjectDialog sod = new SelectObjectDialog(shell, rep, false, true);
sod.open();
RepositoryElementMetaInterface repositoryObject = sod.getRepositoryObject();
if (repositoryObject != null) {
getByReferenceData(repositoryObject);
referenceObjectId = repositoryObject.getObjectId();
specificationMethod = ObjectLocationSpecificationMethod.REPOSITORY_BY_REFERENCE;
setRadioButtons();
}
}
}
示例2: selectTransformationByReference
import org.pentaho.di.repository.RepositoryElementMetaInterface; //导入方法依赖的package包/类
protected void selectTransformationByReference() {
if (rep != null) {
SelectObjectDialog sod = new SelectObjectDialog(shell, rep, true, false);
sod.open();
RepositoryElementMetaInterface repositoryObject = sod.getRepositoryObject();
if (repositoryObject != null) {
specificationMethod=ObjectLocationSpecificationMethod.REPOSITORY_BY_REFERENCE;
getByReferenceData(repositoryObject);
referenceObjectId = repositoryObject.getObjectId();
setRadioButtons();
}
}
}
示例3: selectTransformationByReference
import org.pentaho.di.repository.RepositoryElementMetaInterface; //导入方法依赖的package包/类
protected void selectTransformationByReference() {
if (repository != null) {
SelectObjectDialog sod = new SelectObjectDialog(shell, repository, true, false);
sod.open();
RepositoryElementMetaInterface repositoryObject = sod.getRepositoryObject();
if (repositoryObject != null) {
specificationMethod=ObjectLocationSpecificationMethod.REPOSITORY_BY_REFERENCE;
getByReferenceData(repositoryObject);
referenceObjectId = repositoryObject.getObjectId();
setRadioButtons();
}
}
}
示例4: selectTransformationByReference
import org.pentaho.di.repository.RepositoryElementMetaInterface; //导入方法依赖的package包/类
protected void selectTransformationByReference() {
if (repository != null) {
SelectObjectDialog sod = new SelectObjectDialog(shell, repository, true, false);
sod.open();
RepositoryElementMetaInterface repositoryObject = sod.getRepositoryObject();
if (repositoryObject != null) {
specificationMethod = ObjectLocationSpecificationMethod.REPOSITORY_BY_REFERENCE;
getByReferenceData(repositoryObject);
referenceObjectId = repositoryObject.getObjectId();
setRadioButtons();
}
}
}
示例5: selectJobByReference
import org.pentaho.di.repository.RepositoryElementMetaInterface; //导入方法依赖的package包/类
protected void selectJobByReference() {
if (repository != null) {
SelectObjectDialog sod = new SelectObjectDialog(shell, repository, true, false);
sod.open();
RepositoryElementMetaInterface repositoryObject = sod.getRepositoryObject();
if (repositoryObject != null) {
specificationMethod=ObjectLocationSpecificationMethod.REPOSITORY_BY_REFERENCE;
getByReferenceData(repositoryObject);
referenceObjectId = repositoryObject.getObjectId();
setRadioButtons();
}
}
}
示例6: ok
import org.pentaho.di.repository.RepositoryElementMetaInterface; //导入方法依赖的package包/类
private void ok() {
// Something has to be selected!
if (wTree.getSelectionCount() > 0) {
TreeItem ti = wTree.getSelection()[0];
// No directory!
if (!ti.getForeground().equals(dircolor)) {
int level = ConstUI.getTreeLevel(ti);
if (level > 0) {
repositoryObject = (RepositoryElementMetaInterface) ti.getData();
if (repositoryObject != null) {
objectName = repositoryObject.getName();
objectDirectory = repositoryObject.getRepositoryDirectory();
objectId = repositoryObject.getObjectId();
objectType = repositoryObject.getObjectType();
} else {
// For backward compatibility, we should rarely end up here...
//
String path[] = ConstUI.getTreeStrings(ti.getParentItem());
objectName = ti.getText(0);
objectType = null;
for (RepositoryObjectType type : RepositoryObjectType.values()) {
if (type.getTypeDescription().equalsIgnoreCase(ti.getText(1))) {
objectType = type;
break;
}
}
objectDirectory = directoryTree.findDirectory(path);
}
if (objectDirectory != null) {
dispose();
} else {
MessageBox mb = new MessageBox(shell, SWT.OK | SWT.ICON_ERROR);
mb.setMessage(BaseMessages.getString(PKG, "SelectObjectDialog.Dialog.DirectoryNotFound.Message")); //$NON-NLS-1$
mb.setText(BaseMessages.getString(PKG, "SelectObjectDialog.Dialog.DirectoryNotFound.Title")); //$NON-NLS-1$
mb.open();
}
}
}
}
}
示例7: ok
import org.pentaho.di.repository.RepositoryElementMetaInterface; //导入方法依赖的package包/类
private void ok() {
// Something has to be selected!
if ( wTree.getSelectionCount() > 0 ) {
TreeItem ti = wTree.getSelection()[ 0 ];
// No directory!
if ( !Boolean.TRUE.equals( wTree.getSelection()[ 0 ].getData( "isFolder" ) ) ) {
int level = ConstUI.getTreeLevel( ti );
if ( level > 0 ) {
repositoryObject = (RepositoryElementMetaInterface) ti.getData();
if ( repositoryObject != null ) {
objectName = repositoryObject.getName();
objectDirectory = repositoryObject.getRepositoryDirectory();
objectId = repositoryObject.getObjectId();
objectType = repositoryObject.getObjectType();
} else {
// For backward compatibility, we should rarely end up here...
//
String[] path = ConstUI.getTreeStrings( ti.getParentItem() );
objectName = ti.getText( 0 );
objectType = null;
for ( RepositoryObjectType type : RepositoryObjectType.values() ) {
if ( type.getTypeDescription().equalsIgnoreCase( ti.getText( 1 ) ) ) {
objectType = type;
break;
}
}
objectDirectory = directoryTree.findDirectory( path );
}
if ( objectDirectory != null ) {
dispose();
} else {
MessageBox mb = new MessageBox( shell, SWT.OK | SWT.ICON_ERROR );
mb.setMessage( BaseMessages.getString( PKG, "SelectObjectDialog.Dialog.DirectoryNotFound.Message" ) );
mb.setText( BaseMessages.getString( PKG, "SelectObjectDialog.Dialog.DirectoryNotFound.Title" ) );
mb.open();
}
}
}
}
}