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 and library services
- Loading branch information
Showing
22 changed files
with
901 additions
and
779 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package org.eclipse.triquetrum.commands.api.services; | ||
|
||
public class ActorDescriptor extends EntityDescriptor { | ||
|
||
public ActorDescriptor(String displayName, String clazz, String icon) { | ||
super(displayName, clazz, icon); | ||
} | ||
|
||
@Override | ||
public String getCategory() { | ||
return "Actor"; | ||
} | ||
|
||
} |
15 changes: 15 additions & 0 deletions
15
...ds.api/src/main/java/org/eclipse/triquetrum/commands/api/services/DirectorDescriptor.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,15 @@ | ||
package org.eclipse.triquetrum.commands.api.services; | ||
|
||
public class DirectorDescriptor extends EntityDescriptor { | ||
|
||
public DirectorDescriptor(String displayName, String clazz, String icon) { | ||
super(displayName, clazz, icon); | ||
// TODO Auto-generated constructor stub | ||
} | ||
|
||
@Override | ||
public String getCategory() { | ||
return "Director"; | ||
} | ||
|
||
} |
34 changes: 34 additions & 0 deletions
34
...ands.api/src/main/java/org/eclipse/triquetrum/commands/api/services/EntityDescriptor.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,34 @@ | ||
package org.eclipse.triquetrum.commands.api.services; | ||
|
||
public abstract class EntityDescriptor { | ||
|
||
private String clazz; | ||
|
||
private String displayName; | ||
|
||
private String icon; | ||
|
||
public EntityDescriptor(String displayName, String clazz, String icon) { | ||
super(); | ||
this.displayName = displayName; | ||
this.clazz = clazz; | ||
this.icon = icon; | ||
} | ||
|
||
public String getClazz() { | ||
return clazz; | ||
} | ||
|
||
public String getDisplayName() { | ||
return displayName; | ||
} | ||
|
||
public String getIcon() { | ||
return icon; | ||
} | ||
|
||
public abstract String getCategory(); | ||
|
||
|
||
|
||
} |
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
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
Oops, something went wrong.