use of org.uberfire.ext.widgets.core.client.editors.texteditor.TextResourceType in project kie-wb-common by kiegroup.
the class KieTextEditorPresenter method onStartup.
public void onStartup(final ObservablePath path, final PlaceRequest place) {
// This causes loadContent() to be called (which for this sub-class loads the Overview not the Text/XML etc)
super.init(path, place, new TextResourceType(category));
// This causes the view's content (Text/XML etc) to be loaded, after which we need to get the original HashCode to support "dirty" content
view.onStartup(path);
view.setReadOnly(isReadOnly);
}
Aggregations