use of org.pentaho.ui.xul.stereotype.Bindable in project pentaho-platform by pentaho.
the class MantleModel method executeScheduleContent.
@Bindable
public void executeScheduleContent() {
OpenFileCommand cmd = new OpenFileCommand(COMMAND.SCHEDULE_NEW);
cmd.execute();
}
use of org.pentaho.ui.xul.stereotype.Bindable in project pentaho-platform by pentaho.
the class MantleModel method executeEditContent.
@Bindable
public void executeEditContent() {
OpenFileCommand cmd = new OpenFileCommand(COMMAND.EDIT);
cmd.execute();
}
use of org.pentaho.ui.xul.stereotype.Bindable in project pentaho-platform by pentaho.
the class MantleModel method executePrintCommand.
@Bindable
public void executePrintCommand() {
PrintCommand printCommand = new PrintCommand();
printCommand.execute();
}
use of org.pentaho.ui.xul.stereotype.Bindable in project data-access by pentaho.
the class CsvPhysicalStep method refreshPreview.
@Bindable
public void refreshPreview() throws Exception {
// $NON-NLS-1$
csvTextPreview.setValue("");
CsvFileInfo fileInfo = datasourceModel.getModelInfo().getFileInfo();
csvTextPreview.setValue(fileInfo.formatSampleContents());
}
use of org.pentaho.ui.xul.stereotype.Bindable in project data-access by pentaho.
the class JoinDefinitionsStep method createJoin.
@Bindable
public void createJoin() {
JoinRelationshipModel join = new JoinRelationshipModel();
join.setLeftKeyFieldModel(this.joinGuiModel.getLeftKeyField());
join.setRightKeyFieldModel(this.joinGuiModel.getRightKeyField());
if (this.validator.isValid(join)) {
this.joinGuiModel.addJoin(join);
this.parentDatasource.setFinishable(this.validator.allTablesJoined());
} else {
((MultiTableDatasource) this.parentDatasource).displayErrors(this.validator.getError());
}
}
Aggregations