Skip to content

Commit

Permalink
Update issue templates (#156)
Browse files Browse the repository at this point in the history
* Update issue templates

* Google Java Format

* Update bug_report.md

* Update feature_request.md

---------

Co-authored-by: github-actions <>
  • Loading branch information
matheuslenke authored May 30, 2024
1 parent 9fc02b8 commit 0c8d52b
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 5 deletions.
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**Version of the OntoUML Plugin and Visual Paradigm**
Plugin:
Visual Paradigm:

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Expected behavior**
A clear and concise description of what you expected to happen.

**Additional context**
Add any other context about the problem here.
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

---

**Version of Visual Paradigm and OntoUML Plugin**
Plugin:
Visual Paradigm:

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
1 change: 1 addition & 0 deletions .mvn/wrapper/MavenWrapperDownloader.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
public class MavenWrapperDownloader {

private static final String WRAPPER_VERSION = "0.5.6";

/** Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided. */
private static final String DEFAULT_DOWNLOAD_URL =
"https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
* @author Claudenir Fonseca
* @author Victor Viola
*/
/** @author Victor Viola */
/**
* @author Victor Viola
*/
public class ProjectConfigurations {

public static final boolean DEFAULT_IS_PLUGIN_ENABLED = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,19 @@ static boolean isPresentInOntoumlDiagram(IModelElement element) {
return ModelElement.getDiagrams(element).stream().anyMatch(Diagram::isOntoUMLDiagram);
}

/** @return <code>IModelElement</code> on which the object is based. */
/**
* @return <code>IModelElement</code> on which the object is based.
*/
public IModelElement getSourceModelElement();

/** @return object's type in OntoUML Schema. */
/**
* @return object's type in OntoUML Schema.
*/
public String getOntoUMLType();

/** @return object's ID (based on a <code>IModelElement</code>). */
/**
* @return object's ID (based on a <code>IModelElement</code>).
*/
public String getId();

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@

public class VPContextUtils {

/** @return a set including selected model elements of the same type */
/**
* @return a set including selected model elements of the same type
*/
public static Set<IModelElement> getModelElements(VPContext context) {
if (isDiagramContext(context)) {
return Diagram.getSelectedModelElements(context.getDiagram(), getModelType(context));
Expand Down

0 comments on commit 0c8d52b

Please sign in to comment.