This repository has been archived by the owner on Jan 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring, code cleanup, and minor bugfixes
- Loading branch information
1 parent
2817d55
commit 65d1c32
Showing
11 changed files
with
551 additions
and
488 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
438 changes: 20 additions & 418 deletions
438
client/packages/sprotty-client/src/features/tools/change-bounds-tool.ts
Large diffs are not rendered by default.
Oops, something went wrong.
433 changes: 433 additions & 0 deletions
433
client/packages/sprotty-client/src/features/tools/routing-handler.ts
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
...p-api/src/main/java/com/eclipsesource/glsp/api/action/kind/ChangeRoutingPointsAction.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2019 EclipseSource and others. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License v. 2.0 which is available at | ||
* http://www.eclipse.org/legal/epl-2.0. | ||
* | ||
* This Source Code may also be made available under the following Secondary | ||
* Licenses when the conditions for such availability set forth in the Eclipse | ||
* Public License v. 2.0 are satisfied: GNU General Public License, version 2 | ||
* with the GNU Classpath Exception which is available at | ||
* https://www.gnu.org/software/classpath/license.html. | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 | ||
******************************************************************************/ | ||
package com.eclipsesource.glsp.api.action.kind; | ||
|
||
import java.util.List; | ||
|
||
import com.eclipsesource.glsp.api.action.Action; | ||
import com.eclipsesource.glsp.api.model.ElementAndRoutingPoints; | ||
|
||
public class ChangeRoutingPointsAction extends Action{ | ||
|
||
private List<ElementAndRoutingPoints> newRoutingPoints; | ||
|
||
public ChangeRoutingPointsAction() { | ||
super(Action.Kind.CHANGE_ROUTING_POINTS); | ||
} | ||
|
||
public ChangeRoutingPointsAction(List<ElementAndRoutingPoints> elementAndRoutingPoints) { | ||
this(); | ||
this.newRoutingPoints = elementAndRoutingPoints; | ||
} | ||
|
||
public List<ElementAndRoutingPoints> getNewRoutingPoints() { | ||
return newRoutingPoints; | ||
} | ||
|
||
public void setNewRoutingPoints(List<ElementAndRoutingPoints> newRoutingPoints) { | ||
this.newRoutingPoints = newRoutingPoints; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "ChangeRoutingPointsAction [newRoutingPoints=" + newRoutingPoints + "]"; | ||
} | ||
} |
38 changes: 0 additions & 38 deletions
38
...r/glsp-api/src/main/java/com/eclipsesource/glsp/api/action/kind/SaveModelEdgesAction.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters