Tabnine Logo
IConnector.getTarget
Code IndexAdd Tabnine to your IDE (free)

How to use
getTarget
method
in
com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnector

Best Java code snippets using com.ebmwebsourcing.geasytools.geasyui.api.connectable.IConnector.getTarget (Showing top 7 results out of 315)

origin: com.ebmwebsourcing.petalsbpm/bpmn-diagram

@Override
public boolean isConform(IDiagramElementView diagramElementView) {
  
  IConnector connector = (IConnector) diagramElementView;
  
  if (connector.getSource()==null || connector.getTarget()==null){
    return false;
  }
  
  return true;
}
origin: com.ebmwebsourcing.petalsbpm/bpmn-diagram

@Override
public boolean isConform(IDiagramElementView diagramElementView) {
  
  IConnector connector = (IConnector) diagramElementView;
  
  IDiagramElementView source = (IDiagramElementView) connector.getSource();
  IDiagramElementView target = (IDiagramElementView) connector.getTarget();
  
  if (source==target){
    return false;
  }
  
  return true;
}
origin: com.ebmwebsourcing.petalsbpm/bpmn-diagram

@Override
public boolean isConform(IDiagramElementView diagramElementView) {
  
  Participant connectable = (Participant) diagramElementView;
  
  int nb = 0;
  for(IConnector connector : connectable.getOutgoingConnectors()){
    
    if (connector instanceof Association && connector.getTarget() instanceof Message){
      nb++;
    }
    
  }
  
  if (nb>1){
    return false;
  }
  
  return true;
}
origin: com.ebmwebsourcing.petalsbpm/bpmn-diagram

@Override
public boolean isConform(IDiagramElementView diagramElementView) {
  
  
  Participant connectable = (Participant) diagramElementView;
  
  if (connectable.getOutgoingConnectors().size()>0){
    
    IConnector connector = connectable.getOutgoingConnectors().iterator().next();
    
    if (connector instanceof Association){
      
      IConnectableElement target = connector.getTarget();
      
      if (target instanceof Message){
        
        Message message = (Message) target;
        
        if (connectable.isInitiating()!=message.isInitiating()){
          return false;
        }
        
      }
      
    }
    
  }
  
  return true;
}
origin: com.ebmwebsourcing.geasytools/geasy-ui

  if (incomingC.getTarget().equals(connectable)) incomingC.setTarget(null);
if (connector.getTarget()!=null) connector.getTarget().getIncommingConnectors().remove(connector);
origin: com.ebmwebsourcing.petalsbpm/bpmn-diagram

IDiagramElementView target = (IDiagramElementView) connector.getTarget();
origin: com.ebmwebsourcing.petalsbpm/bpmn-diagram

IDiagramElementView target = (IDiagramElementView) connector.getTarget();
com.ebmwebsourcing.geasytools.geasyui.api.connectableIConnectorgetTarget

Popular methods of IConnector

  • getConnectorStartPoint
  • getSource
  • refresh
  • addDoubleClickHandler
  • addIntermediateConnectorPoint
  • addMouseDownHandler
  • addMouseMoveHandler
  • connect
  • createConnectorPoint
  • fireEvent
  • getAllConnectorPoints
  • getConnectorEndPoint
  • getAllConnectorPoints,
  • getConnectorEndPoint,
  • getId,
  • getUIPanel,
  • hide,
  • removeIntermediateConnectorPoint,
  • setSource,
  • setTarget,
  • show

Popular in Java

  • Reading from database using SQL prepared statement
  • addToBackStack (FragmentTransaction)
  • findViewById (Activity)
  • setRequestProperty (URLConnection)
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Collectors (java.util.stream)
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now