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

Simple example of a dummy e4 editor addition, which is contributed via a Model Fragment #2766

Merged
merged 4 commits into from
Feb 2, 2025

Conversation

feilimb
Copy link
Contributor

@feilimb feilimb commented Jan 30, 2025

This pull request was created in response to the suggestion from @laeubi in the Issue #2764

Copy link
Contributor

@laeubi laeubi left a comment

Choose a reason for hiding this comment

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

Thanks for the example I think in gernal it is good but ther is no need to name it "dummy" :-)

import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Text;

public class DummyEditor {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
public class DummyEditor {
public class ExampleE4Editor {

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Modified as suggested in latest version.

@PostConstruct
public void postConstruct(Composite parent) {
Text label = new Text(parent, SWT.ITALIC);
label.setText("Dummy Editor Content...");
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
label.setText("Dummy Editor Content...");
label.setText("E4 Editor Content...");

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Modified as suggested in latest version.

Copy link
Contributor

github-actions bot commented Jan 30, 2025

Test Results

 1 821 files  ±0   1 821 suites  ±0   1h 30m 25s ⏱️ - 5m 11s
 7 719 tests ±0   7 491 ✅ +2  228 💤 ±0  0 ❌  - 2 
24 318 runs  ±0  23 569 ✅ +2  749 💤 ±0  0 ❌  - 2 

Results for commit b18dcc4. ± Comparison against base commit 55481d3.

♻️ This comment has been updated with latest results.

@feilimb
Copy link
Contributor Author

feilimb commented Jan 30, 2025

Thanks for the example I think in gernal it is good but ther is no need to name it "dummy" :-)

:) OK makes sense, I'll remove the 'dummy' references throughout.. and update the PR

… to 'dummy' throughout to be replaced with 'e4', including the plugin name itself.
Copy link
Contributor

@laeubi laeubi left a comment

Choose a reason for hiding this comment

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

Looks good

@laeubi laeubi merged commit 8c2be45 into eclipse-platform:master Feb 2, 2025
17 checks passed
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.

2 participants