diff options
| author | abranson <andrew.branson@cern.ch> | 2011-10-18 17:00:33 +0200 |
|---|---|---|
| committer | abranson <andrew.branson@cern.ch> | 2011-10-18 17:00:33 +0200 |
| commit | 684e01bb190c7d0b95347b732aeb3cdeda4740d7 (patch) | |
| tree | f3b36e96a4e33b6e46a5e17a29e7492e9ecb4796 /source/com/c2kernel/lifecycle/gui | |
| parent | 38d30cd4f69178cef983ec13262a6f02826a9a45 (diff) | |
Module support
Diffstat (limited to 'source/com/c2kernel/lifecycle/gui')
| -rw-r--r-- | source/com/c2kernel/lifecycle/gui/model/WfVertexDefFactory.java | 4 | ||||
| -rw-r--r-- | source/com/c2kernel/lifecycle/gui/view/CompActDefOutcomeHandler.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/com/c2kernel/lifecycle/gui/model/WfVertexDefFactory.java b/source/com/c2kernel/lifecycle/gui/model/WfVertexDefFactory.java index da59efd..132fdcf 100644 --- a/source/com/c2kernel/lifecycle/gui/model/WfVertexDefFactory.java +++ b/source/com/c2kernel/lifecycle/gui/model/WfVertexDefFactory.java @@ -38,7 +38,7 @@ public class WfVertexDefFactory implements VertexFactory, WorkflowDialogue new ActivityChooser(
Language.translate("Please enter a Type for the new activityDef"),
Language.translate("New " + vertexTypeId + " Activity"),
- Resource.getImageResource("graph/newvertex_large.png").getImage(),
+ Resource.findImage("graph/newvertex_large.png").getImage(),
this,
mhm);
a.setVisible(true);
@@ -68,7 +68,7 @@ public class WfVertexDefFactory implements VertexFactory, WorkflowDialogue Language.translate("Please type a Name"),
Language.translate("New " + vertexTypeId + " Activity"),
JOptionPane.QUESTION_MESSAGE,
- Resource.getImageResource("graph/newvertex_large.png"),
+ Resource.findImage("graph/newvertex_large.png"),
null,
null);
act = (ActivityDef) mCompositeActivityDef.search(mCompositeActivityDef.getID() + "/" + newName);
diff --git a/source/com/c2kernel/lifecycle/gui/view/CompActDefOutcomeHandler.java b/source/com/c2kernel/lifecycle/gui/view/CompActDefOutcomeHandler.java index 58964aa..4c69f15 100644 --- a/source/com/c2kernel/lifecycle/gui/view/CompActDefOutcomeHandler.java +++ b/source/com/c2kernel/lifecycle/gui/view/CompActDefOutcomeHandler.java @@ -45,8 +45,8 @@ public class CompActDefOutcomeHandler extends JPanel
implements OutcomeHandler {
- protected JButton mLoadButton = new JButton(Resource.getImageResource("graph/load.png"));
- protected JButton mLayoutButton = new JButton(Resource.getImageResource("graph/autolayout.png"));
+ protected JButton mLoadButton = new JButton(Resource.findImage("graph/load.png"));
+ protected JButton mLayoutButton = new JButton(Resource.findImage("graph/autolayout.png"));
protected JButton[] mOtherToolBarButtons = { mLayoutButton, mLoadButton };
protected CompositeActivityDef mCompActDef = null;
|
