forked from eclipse-archived/triquetrum
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eclipse-archived#190 In progress TqCL - syntax (insert) and library s…
…ervices
- Loading branch information
Showing
14 changed files
with
222 additions
and
70 deletions.
There are no files selected for viewing
14 changes: 12 additions & 2 deletions
14
...mands.api/src/main/java/org/eclipse/triquetrum/commands/api/services/ActorDescriptor.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 |
---|---|---|
@@ -1,14 +1,24 @@ | ||
package org.eclipse.triquetrum.commands.api.services; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
public class ActorDescriptor extends EntityDescriptor { | ||
|
||
public ActorDescriptor(String displayName, String clazz, String icon) { | ||
super(displayName, clazz, icon); | ||
private List<PortDescriptor> ports = new ArrayList<>(); | ||
|
||
public ActorDescriptor(String sourceLibrary,String displayName, String clazz, String icon) { | ||
super(sourceLibrary,displayName, clazz, icon); | ||
} | ||
|
||
@Override | ||
public String getCategory() { | ||
return "Actor"; | ||
} | ||
|
||
public void addPort(PortDescriptor port) | ||
{ | ||
ports.add(port); | ||
} | ||
|
||
} |
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
26 changes: 26 additions & 0 deletions
26
...s.api/src/main/java/org/eclipse/triquetrum/commands/api/services/ParameterDescriptor.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,26 @@ | ||
package org.eclipse.triquetrum.commands.api.services; | ||
|
||
public class ParameterDescriptor extends EntityDescriptor { | ||
|
||
private String defaultValue=""; | ||
|
||
public ParameterDescriptor(String sourceLibrary,String displayName, String clazz, String icon) { | ||
super(sourceLibrary,displayName, clazz, icon); | ||
} | ||
|
||
@Override | ||
public String getCategory() { | ||
return "Parameter"; | ||
} | ||
|
||
public String getDefaultValue() { | ||
return defaultValue; | ||
} | ||
|
||
public void setDefaultValue(String defaultValue) { | ||
this.defaultValue = defaultValue; | ||
} | ||
|
||
|
||
|
||
} |
19 changes: 19 additions & 0 deletions
19
...mmands.api/src/main/java/org/eclipse/triquetrum/commands/api/services/PortDescriptor.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,19 @@ | ||
package org.eclipse.triquetrum.commands.api.services; | ||
|
||
public class PortDescriptor extends EntityDescriptor { | ||
|
||
private boolean input; | ||
|
||
private boolean output; | ||
|
||
|
||
public PortDescriptor(String sourceLibrary,String displayName, String clazz, String icon) { | ||
super(sourceLibrary,displayName, clazz, icon); | ||
} | ||
|
||
@Override | ||
public String getCategory() { | ||
return "Port"; | ||
} | ||
|
||
} |
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
Binary file modified
BIN
+0 Bytes
(100%)
...nds.xtext.ui/src/main/xtend-gen/org/eclipse/triquetrum/commands/ui/.TqclUiModule.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...nd-gen/org/eclipse/triquetrum/commands/ui/labeling/.TqclDescriptionLabelProvider.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...rc/main/xtend-gen/org/eclipse/triquetrum/commands/ui/labeling/.TqclLabelProvider.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...in/xtend-gen/org/eclipse/triquetrum/commands/ui/outline/.TqclOutlineTreeProvider.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...main/xtend-gen/org/eclipse/triquetrum/commands/ui/quickfix/.TqclQuickfixProvider.xtendbin
Binary file not shown.
Oops, something went wrong.