-
Notifications
You must be signed in to change notification settings - Fork 7
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
Structured Programming #156
base: master
Are you sure you want to change the base?
Conversation
… again (@accessors KGraphLanguageClient client is null)
…es to all actions aswell as the sendable options
Also generates the correct text file as output but client is still null and thus transmittion is not possible!
# Conflicts: # plugins/de.cau.cs.kieler.klighd/src/de/cau/cs/kieler/klighd/util/KlighdProperties.java
Also added some more Actions
Added support for trigger and effect creation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
klighd.lsp cannot depend on SCCharts. Try using a service interface instead.
@@ -6,12 +6,12 @@ | |||
</projects> | |||
<buildSpec> | |||
<buildCommand> | |||
<name>org.eclipse.jdt.core.javabuilder</name> | |||
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this changed?
@Inject | ||
|
||
@Inject | ||
protected ScchartStructuredProgrammingActionHandler scchartsStructuredActionHandler |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the only change and the rest are just write-space changes?
The name suggests that it should not be in here since it sounds SCCharts-specific, maybe you should use a service interface for this.
If you use SCCharts in a class name, also capitalize it the same way as SCCharts.
@@ -35,4 +36,5 @@ Require-Bundle: de.cau.cs.kieler.kgraph.text, | |||
org.eclipse.lsp4j.jsonrpc;bundle-version="0.8.0", | |||
org.eclipse.sprotty;bundle-version="0.7.0", | |||
org.eclipse.xtext.ide;bundle-version="2.21.0", | |||
org.eclipse.xtext.xbase;bundle-version="2.21.0" | |||
org.eclipse.xtext.xbase;bundle-version="2.21.0", | |||
de.cau.cs.kieler.sccharts;bundle-version="1.4.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
klighd.lsp cannot and should never have an SCCharts dependency.
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
package de.cau.cs.kieler.klighd.lsp | ||
|
||
import com.google.common.html.HtmlEscapers | ||
import de.cau.cs.kieler.klighd.ViewContext | ||
import de.cau.cs.kieler.klighd.kgraph.KNode | ||
import de.cau.cs.kieler.klighd.kgraph.KEdge | ||
import de.cau.cs.kieler.klighd.internal.util.KlighdInternalProperties | ||
import de.cau.cs.kieler.sccharts.State |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, no SCCharts dependencies in here.
import de.cau.cs.kieler.klighd.kgraph.KEdge | ||
import de.cau.cs.kieler.klighd.internal.util.KlighdInternalProperties | ||
import de.cau.cs.kieler.sccharts.State | ||
import de.cau.cs.kieler.kexpressions.impl.ValuedObjectImpl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also no kexpressions dependencies.
* | ||
* http://rtsys.informatik.uni-kiel.de/kieler | ||
* | ||
* Copyright ${year} by |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Year missing.
} | ||
|
||
/*Method to add hirarchical behavior to a node */ | ||
def addHirachicalNode(AddHierarchicalStateAction action, String clientId, KGraphDiagramServer server) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hierarchical
factory = new SCChartsFactoryImpl() | ||
} | ||
|
||
/*simply sets the range to be the files size. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the methods below do not have a javadoc but only a comment in front of them.
@@ -21,6 +21,7 @@ Bundle-ActivationPolicy: lazy | |||
Bundle-Activator: de.cau.cs.kieler.klighd.KlighdPlugin | |||
Export-Package: de.cau.cs.kieler.klighd, | |||
de.cau.cs.kieler.klighd.actions, | |||
de.cau.cs.kieler.klighd.filtering, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are the changes by mka, correct?
/** | ||
* This class holds the keyinformation what inputs need to be done on the client for a specific | ||
* action. The label is displayed to the user in the contextmenu. The kind is the action kind. | ||
* Mergable is when multiple things are selected and it can be done for all of them The InputType |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
them. The InputType
@soerendomroes