Tabnine Logo
BrowserImp.getGraphs
Code IndexAdd Tabnine to your IDE (free)

How to use
getGraphs
method
in
ingenias.generator.browser.BrowserImp

Best Java code snippets using ingenias.generator.browser.BrowserImp.getGraphs (Showing top 3 results out of 315)

origin: net.sf.ingenias/editor

Graph[] gs = this.getGraphs();
HashSet<GraphEntity> entities = new HashSet<GraphEntity>();
for (int k = 0; k < gs.length; k++) {
origin: net.sf.ingenias/editor

public Graph findFirstEntityOccurrence(String id){
  Graph[] gs=this.getGraphs();
  boolean found=false;
  Graph result=null;
  for (int k=0;k<gs.length && result==null;k++){
    GraphEntity[] entities;
    try {
      entities = gs[k].getEntities();
      for (int j=0;j<entities.length && result==null;j++){
        if (entities[j].getID().equalsIgnoreCase(id)){
          result=gs[k];
        }
      }
    } catch (NullEntity e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
  }
  return result;
}
origin: net.sf.ingenias/editor

  public void actionPerformed(ActionEvent e) {
    StringBuffer result=new StringBuffer();
    result.append("Diagrams found:<ul>");
    Graph[] graphs=bimp.getGraphs();
    for (int k=0;k<graphs.length;k++){
      GraphEntity[] ges;
      try { 
        ges = graphs[k].getEntities();
        boolean found=false;
        for (int j=0;j<ges.length &&!found;j++){
          found=ges[j].getID().equals(ent.getId());
        }
        if (found){
          result.append("<li><a href=\"http://app/"+graphs[k].getName()+"/"+ent.getId()+"\">"+graphs[k].getName()+"</a>");
        }
      } catch (NullEntity e1) {
        // TODO Auto-generated catch block
        e1.printStackTrace();
      }
    }
    result.append("</ul>");
    resources.getSearchDiagramPanel().setText(result.toString());
    resources.focusSearchPane();
  }
});            
ingenias.generator.browserBrowserImpgetGraphs

Javadoc

Obtains all existing graphs

Popular methods of BrowserImp

  • <init>
    Constructor for the BrowserImp object
  • checkEntity
  • checkFields
  • containedIntoAttributes
  • evaluateCollectionValueField
  • evaluateEntityValueField
  • evaluateSimpleValueField
  • findAllDifferences
  • findEntity
  • getAllEntities
    Gets the allEntities attribute of the BrowserImp object
  • getGraph
    Gets the graph attribute of the BrowserImp object
  • initialise
    Initialises the diagram browser with a INGENIAS specification file
  • getGraph,
  • initialise

Popular in Java

  • Reading from database using SQL prepared statement
  • getContentResolver (Context)
  • getExternalFilesDir (Context)
  • setContentView (Activity)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Option (scala)
  • Top plugins for WebStorm
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