-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CHE-682: Enable debug buttons when debugger open file without source #657
Conversation
@@ -211,7 +211,7 @@ public void initializeAndInitEditor() throws EditorInitException { | |||
|
|||
embeddedTextEditorPresenter.injectAsyncLoader(loaderFactory); | |||
embeddedTextEditorPresenter.initialize(configuration, notificationManager); | |||
embeddedTextEditorPresenter.init(editorInput); | |||
embeddedTextEditorPresenter.init(editorInput, null); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid passing null
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I'll fix it
66dacf8
to
0209acb
Compare
@@ -197,11 +198,17 @@ public void onReady(final String content) { | |||
@Override | |||
public void onError() { | |||
displayErrorPanel(constant.editorInitErrorMessage()); | |||
if (callback != null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this check?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think yes, because for example in class RecipeEditorPanel we creates simple editor panel but we don't need OpenEditorCallback, or we can use empty implementation. What do you think?
Signed-off-by: Aleksandr Andrienko <aandrienko@codenvy.com>
0209acb
to
5ecd601
Compare
ok |
CHE-682: Enable debug buttons when debugger open file without source
…h-che6 Revert "remove ability to override prod docker registry"
Signed-off-by: Aleksandr Andrienko aandrienko@codenvy.com