Skip to content

Commit

Permalink
fixing eclipse api changes, it compiles under 2023-12 now.
Browse files Browse the repository at this point in the history
  • Loading branch information
wadoon committed Dec 9, 2023
1 parent da8d381 commit ba878c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void preWindowOpen() {
// configurer.setInitialSize(new Point(400, 300));
configurer.setShowCoolBar(false);
configurer.setShowStatusLine(false);
configurer.setShowFastViewBars(false);
// weigl: n/a in new eclipse versions: configurer.setShowFastViewBars(false);
configurer.setShowMenuBar(false);
configurer.setShowPerspectiveBar(false);
configurer.setShowProgressIndicator(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public static void resetProof(ShapeNodeEditPart proofEditPart, DbcProof proof) {
CompoundCommand compoundCmd = new CompoundCommand("Proof reset");
if (isProofReferenceResetRequired(proof)) {
// Compute the edit parts to delete
List<Object> editPartsToDelete = new LinkedList<Object>();
List<EditPart> editPartsToDelete = new LinkedList<EditPart>();
for (DbcProofReference refToDel : proof.getProofReferences()) {
Collection<EditPart> targetEditPart = GMFUtil.findEditParts(proofEditPart, refToDel);
editPartsToDelete.addAll(targetEditPart);
Expand Down Expand Up @@ -364,7 +364,7 @@ public static void updateReferences(final EditingDomain domain,
public static void deleteReferences(ShapeNodeEditPart proofEditPart, List<DbcProofReference> referencesToDelete) {
if (isEditPartAlive(proofEditPart)) {
// Compute the edit parts to delete
List<Object> editPartsToDelete = new LinkedList<Object>();
List<EditPart> editPartsToDelete = new LinkedList<EditPart>();
for (DbcProofReference refToDel : referencesToDelete) {
Collection<EditPart> targetEditPart = GMFUtil.findEditParts(proofEditPart, refToDel);
editPartsToDelete.addAll(targetEditPart);
Expand Down

0 comments on commit ba878c1

Please sign in to comment.