summaryrefslogtreecommitdiffstats
path: root/Master/Agile Software Development/TestApp/src/testapp/data/StyleItem.java
diff options
context:
space:
mode:
authorSven Eisenhauer <sven@sven-eisenhauer.net>2023-11-10 15:11:48 +0100
committerSven Eisenhauer <sven@sven-eisenhauer.net>2023-11-10 15:11:48 +0100
commit33613a85afc4b1481367fbe92a17ee59c240250b (patch)
tree670b842326116b376b505ec2263878912fca97e2 /Master/Agile Software Development/TestApp/src/testapp/data/StyleItem.java
downloadStudium-master.tar.gz
Studium-master.tar.bz2
add new repoHEADmaster
Diffstat (limited to 'Master/Agile Software Development/TestApp/src/testapp/data/StyleItem.java')
-rw-r--r--Master/Agile Software Development/TestApp/src/testapp/data/StyleItem.java47
1 files changed, 47 insertions, 0 deletions
diff --git a/Master/Agile Software Development/TestApp/src/testapp/data/StyleItem.java b/Master/Agile Software Development/TestApp/src/testapp/data/StyleItem.java
new file mode 100644
index 0000000..4bb8ff3
--- /dev/null
+++ b/Master/Agile Software Development/TestApp/src/testapp/data/StyleItem.java
@@ -0,0 +1,47 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package testapp.data;
+import java.util.logging.*;
+import java.util.HashMap;
+
+/**
+ *
+ * @author sven
+ */
+public class StyleItem extends Item {
+
+ @Override
+ public ItemClassification analyse() {
+ return doAnalyse();
+ }
+
+ public StyleItem(String url, Item parent) {
+ super(url, parent);
+ itemType = ItemType.STYLE;
+ }
+
+// public StyleItem(String url) {
+// super(url);
+// itemType = ItemType.STYLE;
+// }
+
+ @Override
+ protected HashMap<String, String> getAttributes() {
+ if (attributes == null) {
+ attributes = new HashMap<String,String>();
+ }
+ attributes.put("shape", "septagon");
+ attributes.put("style", "filled");
+ attributes.put("fontname", "Verdana");
+ attributes.put("fontsize", "10");
+ return attributes;
+ }
+ @Override
+ protected String getGraphNodetext() {
+ //return this.filename;
+ return "CSS STYLE "+this.url;
+ }
+}