Beispiel #1
0
  // New implementation
  public JopSession(JopEngine engine, Object rootObject) {
    // Create a JopSessionRep object which class is not known by the compiler
    try {
      Class clazz = Class.forName("jpwr.jop.JopSessionRep");
      try {
        sessionRep = clazz.newInstance();
      } catch (InstantiationException e) {
        System.out.println("InstatiationException");
      } catch (IllegalAccessException e) {
        System.out.println("IllegalAccessException");
      }
    } catch (ClassNotFoundException e) {
      System.out.println("Class not found");
    }

    ((JopSessionIfc) sessionRep).setSession(this);
    ((JopSessionIfc) sessionRep).setRoot(rootObject);
    ((JopSessionIfc) sessionRep).setEngine(engine);
  }
Beispiel #2
0
 public void openFast(String fastObject) {
   ((JopSessionIfc) sessionRep).openFast(fastObject);
 }
Beispiel #3
0
 public void openTrend(String[] trendList) {
   ((JopSessionIfc) sessionRep).openTrend(trendList);
 }
Beispiel #4
0
 public void setOpWindowLanguage(int language) {
   ((JopSessionIfc) sessionRep).setOpWindowLanguage(language);
 }
Beispiel #5
0
 public void setOpWindowLabelText(String text) {
   ((JopSessionIfc) sessionRep).setOpWindowLabelText(text);
 }
Beispiel #6
0
 public void openSearch(String object) {
   ((JopSessionIfc) sessionRep).openSearch(object);
 }
Beispiel #7
0
 public void openNavigator(PwrtObjid oid) {
   ((JopSessionIfc) sessionRep).openNavigator(oid);
 }
Beispiel #8
0
 public void addUtility(Object utility) {
   ((JopSessionIfc) sessionRep).addUtility(utility);
 }
Beispiel #9
0
 public void openFlowFrame(PwrtObjid oid, String center) {
   ((JopSessionIfc) sessionRep).openFlowFrame(oid, center);
 }
Beispiel #10
0
 public void openGraphFrame(String name, String instance, boolean scrollbar, boolean classGraph) {
   ((JopSessionIfc) sessionRep).openGraphFrame(name, instance, scrollbar, classGraph);
 }
Beispiel #11
0
 public void openLanguage() {
   ((JopSessionIfc) sessionRep).openLanguage();
 }
Beispiel #12
0
 public void openLogin() {
   ((JopSessionIfc) sessionRep).openLogin();
 }
Beispiel #13
0
 public void openEventLog() {
   ((JopSessionIfc) sessionRep).openEventLog();
 }
Beispiel #14
0
 public void openAlarmList() {
   ((JopSessionIfc) sessionRep).openAlarmList();
 }
Beispiel #15
0
 public void openCrrFrame(String name) {
   ((JopSessionIfc) sessionRep).openCrrFrame(name);
 }
Beispiel #16
0
 public void setLang(String lang) {
   ((JopSessionIfc) sessionRep).setLang(lang);
 }
Beispiel #17
0
 public void executeCommand(String command) {
   ((JopSessionIfc) sessionRep).executeCommand(command);
 }
Beispiel #18
0
 public void removeUtility(Object utility) {
   ((JopSessionIfc) sessionRep).removeUtility(utility);
 }
Beispiel #19
0
 public void setNavigator(Object navigator) {
   ((JopSessionIfc) sessionRep).setNavigator(navigator);
 }