Package com.ribsapp

Class RBApp

java.lang.Object
com.ribs.Ribs
com.ribsapp.RBApp

public class RBApp extends Ribs
This class provides a bunch of core functionality for loading and saving Ribs documents.
  • Constructor Details

    • RBApp

      public RBApp()
  • Method Details

    • getRibDocument

      public static RBDocument getRibDocument(Object aSource)
      Returns a ribs document from the given source and owner.
    • writeRibDocument

      public static void writeRibDocument(RBDocument aDoc, String aPath)
      Writes the given Ribs document to the given path.
    • showController

      public static void showController(RBDocument aDoc)
      Opens the sample Controller.java file, customizes it for given document and opens it.
    • groupInPanel

      public static void groupInPanel(RMEditor anEditor)
      Group currently selected RJShapes in RJPanel.
    • groupInScrollPane

      public static void groupInScrollPane(RMEditor anEditor)
      Group currently selected RJShapes in RJScrollPane.
    • groupInSplitPane

      public static void groupInSplitPane(RMEditor anEditor)
      Group currently selected RJShapes in one or more RJSplitPanes.