Skip to content

Commit

Permalink
Signed-off-by: Jeeeyul <jeeeyul@gmail.com>
Browse files Browse the repository at this point in the history
  • Loading branch information
jeeeyul committed Sep 4, 2012
1 parent f10c026 commit a706476
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net.jeeeyul.erd.feature/feature.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="net.jeeeyul.erd.feature"
label="Graphti ERD Feature"
label="Graphiti ERD Feature"
version="1.0.0.qualifier"
provider-name="jeeeyul@gmail.com">

Expand Down
Binary file modified net.jeeeyul.erd.updatesite/artifacts.jar
Binary file not shown.
Binary file modified net.jeeeyul.erd.updatesite/content.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
8 changes: 8 additions & 0 deletions net.jeeeyul.erd/build.properties
Expand Up @@ -6,3 +6,11 @@ bin.includes = META-INF/,\
source.. = src/,\
src-gen/,\
xtend-gen/
additional.bundles = org.eclipse.graphiti,\
org.eclipse.graphiti.export.batik,\
org.eclipse.graphiti.mm,\
org.eclipse.graphiti.pattern,\
org.eclipse.graphiti.tools.newprojectwizard,\
org.eclipse.graphiti.ui,\
org.eclipse.graphiti.ui.capabilities.source,\
org.eclipse.emf.transaction
Expand Up @@ -24,6 +24,8 @@ class EditTableFeature extends AbstractDirectEditingFeature {
override setValue(String value, IDirectEditingContext context) {
var table = context.pictogramElement.businessObjectForPictogramElement as Table
table.setName(value.trim)

updatePictogramElement(context.pictogramElement)
}

override canUndo(IContext context) {
Expand Down
Expand Up @@ -52,7 +52,8 @@ class ToolBehaviorProvider extends DefaultToolBehaviorProvider {
]

data.domainSpecificContextButtons += new ContextButtonEntry(null, context) =>[
text = "Drag it to create a reference"
text = "Creates a reference"
description = "Drag it to create a reference"
iconId = SharedImages$ICON16::CREATE_RELATION
addDragAndDropFeature(featureProvider.createConnectionFeatures.findFirst[it.isAvailable(ccc) && it.canStartConnection(ccc)])
]
Expand Down

0 comments on commit a706476

Please sign in to comment.