import org.simantics.selectionview.PropertyTabContributorImpl;
import org.simantics.spreadsheet.CommandCellExecutor;
import org.simantics.spreadsheet.Range;
import org.simantics.selectionview.PropertyTabContributorImpl;
import org.simantics.spreadsheet.CommandCellExecutor;
import org.simantics.spreadsheet.Range;
if(ui != null) {
CommandCellExecutor executor = (CommandCellExecutor)ui.getAdapter(CommandCellExecutor.class);
String location = variable.getPossiblePropertyValue(graph, "HasName");
if(ui != null) {
CommandCellExecutor executor = (CommandCellExecutor)ui.getAdapter(CommandCellExecutor.class);
String location = variable.getPossiblePropertyValue(graph, "HasName");
executor.execute(range.startRow, range.startColumn);
System.out.println("uiui");
}
executor.execute(range.startRow, range.startColumn);
System.out.println("uiui");
}