Skip to content

Graphical editor API rework and refactoring#2379

Merged
philip-alldredge merged 42 commits intomasterfrom
2336_ge_refactoring
Jul 21, 2020
Merged

Graphical editor API rework and refactoring#2379
philip-alldredge merged 42 commits intomasterfrom
2336_ge_refactoring

Conversation

@philip-alldredge
Copy link
Contributor

Closes #2336

Palette categories are now contributed using the palette contributor
interface. Renamed palette command provider to palette contributor.
Replaced tooltip and business object provider API. Revised
GraphicalEditorService. Moved more AADL related classes to packages
under org.osate.ge.aadl2
Write errors to error log when extension fails to load. Continue.
Added new BusinessObjectHandler interface that will be expanded to
replace DI based API.
@philip-alldredge philip-alldredge self-assigned this Jul 8, 2020
@RyanMcilnay
Copy link
Contributor

Some initial problems I am having, as far as testing goes:

  • Creating a feature connection causes a read/write transaction exception, not sure if this is due to my model (I wouldn't think so, but I can send my model if necessary).

  • Creating Subprogram Call Sequences causes a "Unable to determine business object to modify" exception, I think the can create method must be wrong.

  • Creating an Access Connection from a subcomponent within another subcomponent, to a feature that is in the containing impl throws an exception, but should probably not be allowed in the first place. To clarify (hopefully), in my test, I have an impl that contains a subcomponent, and that subcomponent contains another subcomponent. I am creating a connection that is from the impl, to the subcomponent that is two levels deep.

RyanMcilnay
RyanMcilnay previously approved these changes Jul 15, 2020
philip-alldredge and others added 5 commits July 20, 2020 08:51
Conflicts:
	ge/org.osate.ge.ba/META-INF/MANIFEST.MF
	ge/org.osate.ge/plugin.xml
	ge/org.osate.ge/src/org/osate/ge/internal/ui/editor/ShowFlowContributionItem.java
	ge/org.osate.ge/src/org/osate/ge/internal/ui/tools/CreateEndToEndFlowSpecificationTool.java
	ge/org.osate.ge/src/org/osate/ge/internal/ui/tools/CreateFlowImplementationTool.java
	ge/org.osate.ge/src/org/osate/ge/internal/util/AadlFlowSpecificationUtil.java
@philip-alldredge
Copy link
Contributor Author

@RyanMcilnay once this is approved and merged, then we can fine things that slipped through the cracks during the flow editing as part of #2392.

@philip-alldredge philip-alldredge merged commit 57206bc into master Jul 21, 2020
@joeseibel joeseibel mentioned this pull request Jul 21, 2020
@philip-alldredge philip-alldredge deleted the 2336_ge_refactoring branch October 14, 2020 16:05
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.

Refactor, cleanup, and rework API for graphical editor

2 participants