commit | 57b11ab1ccbe94e4e21aefa711eb08b9f2510d25 | [log] [tgz] |
---|---|---|
author | cbrand <cbrand> | Fri Apr 01 12:39:42 2011 +0000 |
committer | cbrand <cbrand> | Fri Apr 01 12:39:42 2011 +0000 |
tree | 342f972119d9b6c3b40b2f2bdcca52f5b29a6901 | |
parent | e8d011af20ca1ca0552a08ad54baf4915671b52a [diff] |
default implementations
diff --git a/plugins/org.eclipse.graphiti.pattern/src/org/eclipse/graphiti/pattern/AbstractPattern.java b/plugins/org.eclipse.graphiti.pattern/src/org/eclipse/graphiti/pattern/AbstractPattern.java index f9e7544..486c31c 100644 --- a/plugins/org.eclipse.graphiti.pattern/src/org/eclipse/graphiti/pattern/AbstractPattern.java +++ b/plugins/org.eclipse.graphiti.pattern/src/org/eclipse/graphiti/pattern/AbstractPattern.java
@@ -750,13 +750,11 @@ @Override public IProposal getInitialValueAsProposal(IDirectEditingContext context) { - // TODO Auto-generated method stub - return null; + return new Proposal(getInitialValue(context)); } @Override public String checkValueValidAsProposal(IProposal value, IDirectEditingContext context) { - // TODO Auto-generated method stub - return null; + return checkValueValid(value.getText(), context); } }