Skip to content
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-1277 Move machines output to project perpective #1574

Merged
merged 2 commits into from
Jun 24, 2016
Merged

Conversation

vitaliy-guliy
Copy link
Contributor

@vitaliy-guliy vitaliy-guliy commented Jun 24, 2016

_1 Upvote_ Signed-off-by: Vitaliy Guliy vguliy@codenvy.com

Signed-off-by: Vitaliy Guliy <vguliy@codenvy.com>

public static final GwtEvent.Type<WorkspaceStartingEvent.Handler> TYPE = new GwtEvent.Type<>();

private final WorkspaceDto workspace;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What was the motivation for using DTO object here instead of an appropriate model object Workspace?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No special motivation, just the same as in WorkspaceStartedEvent and WorkspaceStoppedEvent

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should use DTO for transport only.
And model interfaces in other places like this event class.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Signed-off-by: Vitaliy Guliy <vguliy@codenvy.com>
@ashumilova
Copy link
Contributor

+1

@vparfonov
Copy link
Contributor

ok

@vitaliy-guliy vitaliy-guliy merged commit ba2b8fa into master Jun 24, 2016
@vitaliy-guliy vitaliy-guliy deleted the CHE-1277 branch June 24, 2016 10:16
@codenvy-ci
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants