Skip to content

Commit

Permalink
FEAT: Jump to modeller after opening a file
Browse files Browse the repository at this point in the history
  • Loading branch information
davidibl committed Apr 1, 2020
1 parent dde37b6 commit 6a31b37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/services/dmnProjectService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { EventService } from './eventService';
import { EventType } from '../model/event/eventType';
import { PluginDescriptor } from '../model/plugin/pluginDescriptor';
import { PluginMetaDescriptor } from '../model/plugin/pluginMetaDescriptor';
import { TabIds } from '../model/tabIds';

@Injectable()
export class DmnProjectService {
Expand Down Expand Up @@ -59,6 +60,7 @@ export class DmnProjectService {
this.pluginsConfigured = (project.plugins) ? project.plugins : [];
this._dmnXmlService.setXml(dmnXml);
this._eventService.publishEvent({ type: EventType.PROJECT_LOADED, data: true });
this._eventService.publishEvent({ type: EventType.JUMP_TO_TAB, data: TabIds.editor });
}

public createNewProject() {
Expand Down

0 comments on commit 6a31b37

Please sign in to comment.