コード例 #1
0
 /// <summary>
 /// Request that the action be taken.  If it is currently deferred, then
 /// the action won't be taken.
 /// </summary>
 /// <param name="requestData"></param>
 public void requestAction(Node requestData)
 {
     if (isActionDeferred())
         setActionRequired();
     else
         actionFunction(staticData, requestData);
 }
コード例 #2
0
 /// <summary>
 /// Driven nodes use AttributeParameters as input parameters.
 /// </summary>
 /// <param name="pd"></param>
 /// <param name="n"></param>
 /// <param name="index"></param>
 /// <returns></returns>
 public override Parameter newParameter(ParameterDefinition pd,
     Node n, int index)
 {
     if (pd.IsInput)
         return new AttributeParameter(pd, n, index);
     else
         return new Parameter(pd);
 }
コード例 #3
0
 public AttributeParameter(ParameterDefinition pd, Node n, int index)
     : base(pd)
 {
     set2ndValue("NULL");
     node = n;
     this.index = index;
     syncOnTypeMatch = true;
 }
コード例 #4
0
ファイル: JavaNet.cs プロジェクト: BackupTheBerlios/opendx2
 public override void changeExistanceWork(Node n, bool adding)
 {
     base.changeExistanceWork(n, adding);
     if (saveWebPageCmd != null)
     {
         saveWebPageCmd.deactivate();
         saveAppletCmd.deactivate();
     }
 }
コード例 #5
0
ファイル: Ark.cs プロジェクト: BackupTheBerlios/opendx2
        public Ark(Node fromNode, int fp, Node toNode, int tp)
        {
            arcStandIn = null;

            from = fromNode;
            fromParameter = fp;
            to = toNode;
            toParameter = tp;
            from.addOutputArk(this, fp);
            to.addInputArk(this, tp);
        }
コード例 #6
0
ファイル: PickNode.cs プロジェクト: BackupTheBerlios/opendx2
 public void pickFrom(Node n)
 {
     if (n != null)
     {
         ImageNode imn = (ImageNode)n;
         setInputValueQuietly(PICKFROM, imn.getPickIdentifier());
     }
     else
     {
         setInputValueQuietly(PICKFROM, "NULL");
         setInputValueQuietly(PICKPTS, "NULL");
     }
 }
コード例 #7
0
        // Match output_index of this node to input_index of n. Returns true
        // if they can connect.
        public override bool typeMatchOutputToInput(int output_index, Node n, int input_index)
        {
            Debug.Assert(output_index >= 1);
            Debug.Assert(input_index >= 1);

            List<DXType> tout = getOutputTypes(output_index);
            List<DXType> tin = n.getInputTypes(input_index);

            Debug.Assert(tout != null && tin != null);

            List<DXType> newTypesList = DXType.IntersectTypeLists(tin, tout);
            return (newTypesList != null && newTypesList.Count > 0);
        }
コード例 #8
0
 protected InteractorStandIn(WorkSpace w, Node n)
     : base(w, n)
 {
 }
コード例 #9
0
 public static new StandIn AllocateStandIn(WorkSpace w, Node n)
 {
     StandIn si = new InteractorStandIn(w, n);
     si.createStandIn();
     return si;
 }
コード例 #10
0
 protected bool spreadOutSpaghettiFrom(Node n, ref int min)
 {
     throw new Exception("Not Yet Implemented");
 }
コード例 #11
0
 public static bool IsSingleOutputNoInputNode(Node n)
 {
     throw new Exception("Not Yet Implemented");
 }
コード例 #12
0
ファイル: ImageCDB.cs プロジェクト: BackupTheBerlios/opendx2
 public static ConfigurationDialog AllocatedConfigurationDialog(Form parent,
     Node node)
 {
     return new ImageCDB(parent, node);
 }
コード例 #13
0
 protected void respositionDecorators(List<Decorator> decorators, bool sameEventFlag, Node[] reflow,
     int reflowCount)
 {
     throw new Exception("Not Yet Implemented");
 }
コード例 #14
0
 private int computeRequiredHopsToSiblingsOf(Node n)
 {
     throw new Exception("Not Yet Implemented");
 }
コード例 #15
0
 private void fixForTooManyReceivers(Node n, ref int min)
 {
     throw new Exception("Not Yet Implemented");
 }
コード例 #16
0
 private void adjustDescendantHops(Node parent, int newHopCount)
 {
     throw new Exception("Not Yet Implemented");
 }
コード例 #17
0
 private bool adjustHopCounts(Node[] reflow, int reflow_count, ref int min)
 {
     throw new Exception("Not Yet Implemented");
 }
コード例 #18
0
 private void adjustAncestorHops(Node parent, int newHopCount, ref int min)
 {
     throw new Exception("Not Yet Implemented");
 }
コード例 #19
0
 private static bool CanMoveTo(LayoutInfo info, int x, int y, Node[] reflow,
     int count, List<Decorator> decorators)
 {
     throw new Exception("Not Yet Implemented");
 }
コード例 #20
0
 protected void unmarkAllNodes(Node[] reflow, int reflowCount)
 {
     throw new Exception("Not Yet Implemented");
 }
コード例 #21
0
 //
 // If the min or max input has changed, update the attribute parameter
 // (integer list of min and max) and then call the super class method
 // if the input is not the attribute parameter.
 //
 protected override void ioParameterStatusChanged(bool input, int index,
     Node.NodeParameterStatusChange status)
 {
     throw new Exception("not implemented yet");
 }
コード例 #22
0
ファイル: ImageNode.cs プロジェクト: BackupTheBerlios/opendx2
 public virtual void javifyNode(Node webOptions, Node w2)
 {
     throw new Exception("Not Yet Implemented");
 }
コード例 #23
0
ファイル: ImageCDB.cs プロジェクト: BackupTheBerlios/opendx2
 public ImageCDB(Form parent, Node node)
     : base("imageConfigurationDialog", parent, node)
 {
 }
コード例 #24
0
 protected void prepareAnnotationPlacement(List<Decorator> decorators, Node[] reflow, int reflowCount,
     List<Decorator> allDecorators, WorkSpace workSpace, ref int widest, ref int tallest)
 {
     throw new Exception("Not Yet Implemented");
 }
コード例 #25
0
 public static new ConfigurationDialog AllocateConfigurationDialog(Form parent, Node node)
 {
     throw new Exception("Not Yet Implemented");
 }
コード例 #26
0
 public static Ark IsSingleInputNoOutputNode(Node n, ref bool sharesAnOutput, bool positioned)
 {
     throw new Exception("Not Yet Implemented");
 }
コード例 #27
0
ファイル: ImageNode.cs プロジェクト: BackupTheBerlios/opendx2
 public virtual bool isJavified(Node webOptions)
 {
     throw new Exception("Not Yet Implemented");
 }
コード例 #28
0
 protected void respositionNewPlacements(Node n, bool disjoint, List<Node> placed)
 {
     throw new Exception("Not Yet Implemented");
 }
コード例 #29
0
 /// <summary>
 /// Return TRUE if the node's standin can move to x,y without
 // causing overlap with any other node in the list.
 /// </summary>
 /// <param name="n"></param>
 /// <param name="x"></param>
 /// <param name="y"></param>
 /// <returns></returns>
 private bool nodeCanMoveTo(Node n, int x, int y)
 {
     throw new Exception("Not Yet Implemented");
 }
コード例 #30
0
 private void repositionGroups(Node[] reflow, int reflowCount)
 {
     throw new Exception("Not Yet Implemented");
 }