Commit 9d98b81f authored by claes's avatar claes

Initial revision

parents

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

/* rt_io_ssab.c -- init, read and write ssab cards.
PROVIEW/R
Copyright (C) 1994 by Comator Process AB. */
# include <string.h>
# include <stdlib.h>
# include <stdio.h>
int ssab_close(
void *hv_device)
{
return 1;
}
int ssabai_ini(
char *inidev,
void *adressini,
void *hv_device,
int relvec)
{
int sts;
* (int *)adressini = 12345;
sts = 1;
return sts;
}
unsigned short ssabai_read(
void *reg_diP,
int grupp)
{
unsigned short di_data;
di_data = 3020;
return di_data;
}
unsigned short ssabaiup_read(
void *reg_diP,
int grupp)
{
unsigned short di_data;
di_data = 3020;
return di_data;
}
int ssabao_ini(
char *inidev,
void *adressini,
void *hv_device,
int relvec)
{
int sts;
* (int *)adressini = 12345;
sts = 1;
return sts;
}
void ssabao_write(
short data,
void *reg_diP,
int channel)
{
}
int ssabd_ini(
char *inidev,
void *adressini,
void *hv_device,
int relvec)
{
int sts;
* (int *)adressini = 12345;
sts = 1;
return sts;
}
unsigned short ssabdi_read(
void *reg_diP,
int grupp)
{
unsigned short di_data;
di_data = 21845;
return di_data;
}
void ssabdo_write(
short data,
void *reg_diP,
int grupp)
{
}
void ssabco_read(
void *reg_diP,
int numofword,
int *co_id,
unsigned short *data,
int channel)
{
*data = 21845;
}
void ssabco_write(
unsigned short *data,
void *reg_P,
int channel)
{
}
#include "jpwr_rt_Errh.h"
#include "pwr.h"
#include "rt_errh.h"
#include "rt_errh_msg.h"
JNIEXPORT jint JNICALL Java_jpwr_rt_Errh_init
(JNIEnv *env, jobject object, jstring jname)
{
jint jsts;
int sts;
char *cstr;
const char *name;
name = (*env)->GetStringUTFChars( env, jname, 0);
cstr = (char *)name;
sts = errh_Init( cstr);
(*env)->ReleaseStringUTFChars( env, jname, cstr);
jsts = (jint) sts;
return jsts;
}
JNIEXPORT void JNICALL Java_jpwr_rt_Errh_fatal
(JNIEnv *env, jobject object, jstring jmsg)
{
char *cstr;
const char *msg;
msg = (*env)->GetStringUTFChars( env, jmsg, 0);
cstr = (char *)msg;
errh_Fatal( cstr);
(*env)->ReleaseStringUTFChars( env, jmsg, cstr);
}
JNIEXPORT void JNICALL Java_jpwr_rt_Errh_error
(JNIEnv *env, jobject object, jstring jmsg)
{
char *cstr;
const char *msg;
msg = (*env)->GetStringUTFChars( env, jmsg, 0);
cstr = (char *)msg;
errh_Error( cstr);
(*env)->ReleaseStringUTFChars( env, jmsg, cstr);
}
JNIEXPORT void JNICALL Java_jpwr_rt_Errh_warning
(JNIEnv *env, jobject object, jstring jmsg)
{
char *cstr;
const char *msg;
msg = (*env)->GetStringUTFChars( env, jmsg, 0);
cstr = (char *)msg;
errh_Warning( cstr);
(*env)->ReleaseStringUTFChars( env, jmsg, cstr);
}
JNIEXPORT void JNICALL Java_jpwr_rt_Errh_info
(JNIEnv *env, jobject object, jstring jmsg)
{
char *cstr;
const char *msg;
msg = (*env)->GetStringUTFChars( env, jmsg, 0);
cstr = (char *)msg;
errh_Info( cstr);
(*env)->ReleaseStringUTFChars( env, jmsg, cstr);
}
JNIEXPORT void JNICALL Java_jpwr_rt_Errh_success
(JNIEnv *env, jobject object, jstring jmsg)
{
char *cstr;
const char *msg;
msg = (*env)->GetStringUTFChars( env, jmsg, 0);
cstr = (char *)msg;
errh_Success( cstr);
(*env)->ReleaseStringUTFChars( env, jmsg, cstr);
}
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class jpwr_rt_Errh */
#ifndef _Included_jpwr_rt_Errh
#define _Included_jpwr_rt_Errh
#ifdef __cplusplus
extern "C" {
#endif
/* Inaccessible static: initDone */
/*
* Class: jpwr_rt_Errh
* Method: init
* Signature: (Ljava/lang/String;)I
*/
JNIEXPORT jint JNICALL Java_jpwr_rt_Errh_init
(JNIEnv *, jobject, jstring);
/*
* Class: jpwr_rt_Errh
* Method: fatal
* Signature: (Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_jpwr_rt_Errh_fatal
(JNIEnv *, jobject, jstring);
/*
* Class: jpwr_rt_Errh
* Method: error
* Signature: (Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_jpwr_rt_Errh_error
(JNIEnv *, jobject, jstring);
/*
* Class: jpwr_rt_Errh
* Method: warning
* Signature: (Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_jpwr_rt_Errh_warning
(JNIEnv *, jobject, jstring);
/*
* Class: jpwr_rt_Errh
* Method: info
* Signature: (Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_jpwr_rt_Errh_info
(JNIEnv *, jobject, jstring);
/*
* Class: jpwr_rt_Errh
* Method: success
* Signature: (Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_jpwr_rt_Errh_success
(JNIEnv *, jobject, jstring);
#ifdef __cplusplus
}
#endif
#endif
This diff is collapsed.
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class jpwr_rt_Gdh */
#ifndef _Included_jpwr_rt_Gdh
#define _Included_jpwr_rt_Gdh
#ifdef __cplusplus
extern "C" {
#endif
/* Inaccessible static: initDone */
/* Inaccessible static: currentSystemGroup */
/* Inaccessible static: currentUser */
/* Inaccessible static: currentPassword */
/* Inaccessible static: currentPrivilege */
/*
* Class: jpwr_rt_Gdh
* Method: init
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_jpwr_rt_Gdh_init
(JNIEnv *, jobject);
/*
* Class: jpwr_rt_Gdh
* Method: setObjectInfoFloat
* Signature: (Ljava/lang/String;F)Ljpwr/rt/PwrtStatus;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_setObjectInfoFloat
(JNIEnv *, jobject, jstring, jfloat);
/*
* Class: jpwr_rt_Gdh
* Method: setObjectInfoInt
* Signature: (Ljava/lang/String;I)Ljpwr/rt/PwrtStatus;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_setObjectInfoInt
(JNIEnv *, jobject, jstring, jint);
/*
* Class: jpwr_rt_Gdh
* Method: setObjectInfoBoolean
* Signature: (Ljava/lang/String;Z)Ljpwr/rt/PwrtStatus;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_setObjectInfoBoolean
(JNIEnv *, jobject, jstring, jboolean);
/*
* Class: jpwr_rt_Gdh
* Method: setObjectInfoString
* Signature: (Ljava/lang/String;Ljava/lang/String;)Ljpwr/rt/PwrtStatus;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_setObjectInfoString
(JNIEnv *, jobject, jstring, jstring);
/*
* Class: jpwr_rt_Gdh
* Method: getObjectInfoFloat
* Signature: (Ljava/lang/String;)Ljpwr/rt/CdhrFloat;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_getObjectInfoFloat
(JNIEnv *, jobject, jstring);
/*
* Class: jpwr_rt_Gdh
* Method: getObjectInfoInt
* Signature: (Ljava/lang/String;)Ljpwr/rt/CdhrInt;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_getObjectInfoInt
(JNIEnv *, jobject, jstring);
/*
* Class: jpwr_rt_Gdh
* Method: getObjectInfoBoolean
* Signature: (Ljava/lang/String;)Ljpwr/rt/CdhrBoolean;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_getObjectInfoBoolean
(JNIEnv *, jobject, jstring);
/*
* Class: jpwr_rt_Gdh
* Method: getObjectInfoString
* Signature: (Ljava/lang/String;)Ljpwr/rt/CdhrString;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_getObjectInfoString
(JNIEnv *, jobject, jstring);
/*
* Class: jpwr_rt_Gdh
* Method: getObjectInfoObjid
* Signature: (Ljava/lang/String;)Ljpwr/rt/CdhrObjid;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_getObjectInfoObjid
(JNIEnv *, jobject, jstring);
/*
* Class: jpwr_rt_Gdh
* Method: toggleObjectInfo
* Signature: (Ljava/lang/String;)Ljpwr/rt/PwrtStatus;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_toggleObjectInfo
(JNIEnv *, jobject, jstring);
/*
* Class: jpwr_rt_Gdh
* Method: refObjectInfo
* Signature: (Ljava/lang/String;)Ljpwr/rt/GdhrRefObjectInfo;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_refObjectInfo
(JNIEnv *, jobject, jstring);
/*
* Class: jpwr_rt_Gdh
* Method: getObjectRefInfoFloat
* Signature: (I)F
*/
JNIEXPORT jfloat JNICALL Java_jpwr_rt_Gdh_getObjectRefInfoFloat
(JNIEnv *, jobject, jint);
/*
* Class: jpwr_rt_Gdh
* Method: getObjectRefInfoBoolean
* Signature: (I)Z
*/
JNIEXPORT jboolean JNICALL Java_jpwr_rt_Gdh_getObjectRefInfoBoolean
(JNIEnv *, jobject, jint);
/*
* Class: jpwr_rt_Gdh
* Method: getObjectRefInfoInt
* Signature: (I)I
*/
JNIEXPORT jint JNICALL Java_jpwr_rt_Gdh_getObjectRefInfoInt
(JNIEnv *, jobject, jint);
/*
* Class: jpwr_rt_Gdh
* Method: getObjectRefInfoString
* Signature: (II)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_jpwr_rt_Gdh_getObjectRefInfoString
(JNIEnv *, jobject, jint, jint);
/*
* Class: jpwr_rt_Gdh
* Method: unrefObjectInfo
* Signature: (Ljpwr/rt/PwrtRefId;)Ljpwr/rt/PwrtStatus;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_unrefObjectInfo
(JNIEnv *, jobject, jobject);
/*
* Class: jpwr_rt_Gdh
* Method: nameToObjid
* Signature: (Ljava/lang/String;)Ljpwr/rt/CdhrObjid;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_nameToObjid
(JNIEnv *, jobject, jstring);
/*
* Class: jpwr_rt_Gdh
* Method: objidToName
* Signature: (Ljpwr/rt/PwrtObjid;I)Ljpwr/rt/CdhrString;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_objidToName
(JNIEnv *, jobject, jobject, jint);
/*
* Class: jpwr_rt_Gdh
* Method: getRootList
* Signature: ()Ljpwr/rt/CdhrObjid;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_getRootList
(JNIEnv *, jobject);
/*
* Class: jpwr_rt_Gdh
* Method: getNextObject
* Signature: (Ljpwr/rt/PwrtObjid;)Ljpwr/rt/CdhrObjid;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_getNextObject
(JNIEnv *, jobject, jobject);
/*
* Class: jpwr_rt_Gdh
* Method: getChild
* Signature: (Ljpwr/rt/PwrtObjid;)Ljpwr/rt/CdhrObjid;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_getChild
(JNIEnv *, jobject, jobject);
/*
* Class: jpwr_rt_Gdh
* Method: getParent
* Signature: (Ljpwr/rt/PwrtObjid;)Ljpwr/rt/CdhrObjid;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_getParent
(JNIEnv *, jobject, jobject);
/*
* Class: jpwr_rt_Gdh
* Method: getNextSibling
* Signature: (Ljpwr/rt/PwrtObjid;)Ljpwr/rt/CdhrObjid;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_getNextSibling
(JNIEnv *, jobject, jobject);
/*
* Class: jpwr_rt_Gdh
* Method: getObjectClass
* Signature: (Ljpwr/rt/PwrtObjid;)Ljpwr/rt/CdhrClassId;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_getObjectClass
(JNIEnv *, jobject, jobject);
/*
* Class: jpwr_rt_Gdh
* Method: getClassList
* Signature: (I)Ljpwr/rt/CdhrObjid;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_getClassList
(JNIEnv *, jobject, jint);
/*
* Class: jpwr_rt_Gdh
* Method: classIdToObjid
* Signature: (I)Ljpwr/rt/CdhrObjid;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_classIdToObjid
(JNIEnv *, jobject, jint);
/*
* Class: jpwr_rt_Gdh
* Method: getNodeObject
* Signature: ()Ljpwr/rt/CdhrObjid;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_getNodeObject
(JNIEnv *, jobject);
/*
* Class: jpwr_rt_Gdh
* Method: getAttributeChar
* Signature: (Ljava/lang/String;)Ljpwr/rt/GdhrGetAttributeChar;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_getAttributeChar
(JNIEnv *, jobject, jstring);
/*
* Class: jpwr_rt_Gdh
* Method: getClassAttribute
* Signature: (ILjpwr/rt/PwrtObjid;)Ljpwr/rt/CdhrObjAttr;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_getClassAttribute
(JNIEnv *, jobject, jint, jobject);
/*
* Class: jpwr_rt_Gdh
* Method: translateFilename
* Signature: (Ljava/lang/String;)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_jpwr_rt_Gdh_translateFilename
(JNIEnv *, jclass, jstring);
/*
* Class: jpwr_rt_Gdh
* Method: crrSignal
* Signature: (Ljava/lang/String;)Ljpwr/rt/CdhrString;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_crrSignal
(JNIEnv *, jobject, jstring);
/*
* Class: jpwr_rt_Gdh
* Method: crrObject
* Signature: (Ljava/lang/String;)Ljpwr/rt/CdhrString;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Gdh_crrObject
(JNIEnv *, jobject, jstring);
#ifdef __cplusplus
}
#endif
#endif
This diff is collapsed.
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class jpwr_rt_Mh */
#ifndef _Included_jpwr_rt_Mh
#define _Included_jpwr_rt_Mh
#ifdef __cplusplus
extern "C" {
#endif
#undef jpwr_rt_Mh_mh_mEventFlags_Return
#define jpwr_rt_Mh_mh_mEventFlags_Return 1L
#undef jpwr_rt_Mh_mh_mEventFlags_Ack
#define jpwr_rt_Mh_mh_mEventFlags_Ack 2L
#undef jpwr_rt_Mh_mh_mEventFlags_Bell
#define jpwr_rt_Mh_mh_mEventFlags_Bell 4L
#undef jpwr_rt_Mh_mh_mEventFlags_Force
#define jpwr_rt_Mh_mh_mEventFlags_Force 8L
#undef jpwr_rt_Mh_mh_mEventFlags_InfoWindow
#define jpwr_rt_Mh_mh_mEventFlags_InfoWindow 16L
#undef jpwr_rt_Mh_mh_mEventFlags_Returned
#define jpwr_rt_Mh_mh_mEventFlags_Returned 32L
#undef jpwr_rt_Mh_mh_mEventFlags_NoObject
#define jpwr_rt_Mh_mh_mEventFlags_NoObject 64L
#undef jpwr_rt_Mh_mh_mEventStatus_NotRet
#define jpwr_rt_Mh_mh_mEventStatus_NotRet 1L
#undef jpwr_rt_Mh_mh_mEventStatus_NotAck
#define jpwr_rt_Mh_mh_mEventStatus_NotAck 2L
#undef jpwr_rt_Mh_mh_mEventStatus_Block
#define jpwr_rt_Mh_mh_mEventStatus_Block 4L
#undef jpwr_rt_Mh_mh_eEventPrio__
#define jpwr_rt_Mh_mh_eEventPrio__ 0L
#undef jpwr_rt_Mh_mh_eEventPrio_A
#define jpwr_rt_Mh_mh_eEventPrio_A 67L
#undef jpwr_rt_Mh_mh_eEventPrio_B
#define jpwr_rt_Mh_mh_eEventPrio_B 66L
#undef jpwr_rt_Mh_mh_eEventPrio_C
#define jpwr_rt_Mh_mh_eEventPrio_C 65L
#undef jpwr_rt_Mh_mh_eEventPrio_D
#define jpwr_rt_Mh_mh_eEventPrio_D 64L
#undef jpwr_rt_Mh_mh_eEventPrio_
#define jpwr_rt_Mh_mh_eEventPrio_ 63L
#undef jpwr_rt_Mh_mh_eEvent__
#define jpwr_rt_Mh_mh_eEvent__ 0L
#undef jpwr_rt_Mh_mh_eEvent_Ack
#define jpwr_rt_Mh_mh_eEvent_Ack 1L
#undef jpwr_rt_Mh_mh_eEvent_Block
#define jpwr_rt_Mh_mh_eEvent_Block 2L
#undef jpwr_rt_Mh_mh_eEvent_Cancel
#define jpwr_rt_Mh_mh_eEvent_Cancel 3L
#undef jpwr_rt_Mh_mh_eEvent_CancelBlock
#define jpwr_rt_Mh_mh_eEvent_CancelBlock 4L
#undef jpwr_rt_Mh_mh_eEvent_Missing
#define jpwr_rt_Mh_mh_eEvent_Missing 5L
#undef jpwr_rt_Mh_mh_eEvent_Reblock
#define jpwr_rt_Mh_mh_eEvent_Reblock 6L
#undef jpwr_rt_Mh_mh_eEvent_Return
#define jpwr_rt_Mh_mh_eEvent_Return 7L
#undef jpwr_rt_Mh_mh_eEvent_Unblock
#define jpwr_rt_Mh_mh_eEvent_Unblock 8L
#undef jpwr_rt_Mh_mh_eEvent_Info
#define jpwr_rt_Mh_mh_eEvent_Info 32L
#undef jpwr_rt_Mh_mh_eEvent_Alarm
#define jpwr_rt_Mh_mh_eEvent_Alarm 64L
#undef jpwr_rt_Mh_mh_eEvent_
#define jpwr_rt_Mh_mh_eEvent_ 65L
/* Inaccessible static: lastMhrEvent */
/* Inaccessible static: newAlarmArrived */
/* Inaccessible static: newEventArrived */
/* Inaccessible static: clearAlarmList */
/* Inaccessible static: nrOfAlarmsArrived */
/* Inaccessible static: maxNoOfAlarms */
/* Inaccessible static: maxNoOfEvents */
/* Inaccessible static: initDone */
/* Inaccessible static: currentSystemGroup */
/* Inaccessible static: currentUser */
/* Inaccessible static: currentPassword */
/* Inaccessible static: currentPrivilege */
/*
* Class: jpwr_rt_Mh
* Method: initIDs
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_jpwr_rt_Mh_initIDs
(JNIEnv *, jclass);
/*
* Class: jpwr_rt_Mh
* Method: outunitAck
* Signature: (Ljpwr/rt/MhrsEventId;)Ljpwr/rt/PwrtStatus;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Mh_outunitAck
(JNIEnv *, jobject, jobject);
/*
* Class: jpwr_rt_Mh
* Method: outunitConnect
* Signature: (Ljpwr/rt/PwrtObjid;)Ljpwr/rt/PwrtStatus;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Mh_outunitConnect
(JNIEnv *, jobject, jobject);
/*
* Class: jpwr_rt_Mh
* Method: outunitDisConnect
* Signature: ()Ljpwr/rt/PwrtStatus;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Mh_outunitDisConnect
(JNIEnv *, jobject);
/*
* Class: jpwr_rt_Mh
* Method: outunitReceive
* Signature: ()Ljpwr/rt/PwrtStatus;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Mh_outunitReceive
(JNIEnv *, jobject);
/*
* Class: jpwr_rt_Mh
* Method: outunitUnBlock
* Signature: (Ljpwr/rt/PwrtObjid;)Ljpwr/rt/PwrtStatus;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Mh_outunitUnBlock
(JNIEnv *, jobject, jobject);
/*
* Class: jpwr_rt_Mh
* Method: outunitUpdate
* Signature: ()Ljpwr/rt/PwrtStatus;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Mh_outunitUpdate
(JNIEnv *, jobject);
/*
* Class: jpwr_rt_Mh
* Method: translateFilename
* Signature: (Ljava/lang/String;)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_jpwr_rt_Mh_translateFilename
(JNIEnv *, jclass, jstring);
#ifdef __cplusplus
}
#endif
#endif
#include "jpwr_rt_qcom.h"
#include "pwr.h"
#include "rt_qcom.h"
#include "co_cdh.h"
#include "co_time.h"
#include "co_cdh_msg.h"
#include "rt_qcom_msg.h"
JNIEXPORT jobject JNICALL Java_jpwr_rt_Qcom_createQ
(JNIEnv *env, jobject object, jint qix, jint nid, jstring jname)
{
jclass qcomrCreateQ_id;
jmethodID qcomrCreateQ_cid;
jobject return_obj;
jint jsts;
qcom_sQid qid;
qcom_sQattr attr;
int sts;
char *cstr;
const char *name;
// qcom_sQid other_que = qcom_cQapplEvent;
qcomrCreateQ_id = (*env)->FindClass( env, "jpwr/rt/QcomrCreateQ");
qcomrCreateQ_cid = (*env)->GetMethodID( env, qcomrCreateQ_id,
"<init>", "(III)V");
name = (*env)->GetStringUTFChars( env, jname, 0);
cstr = (char *)name;
attr.type = qcom_eQtype_private;
attr.quota = 100;
qid.qix = qix;
qid.nid = nid;
qcom_CreateQ( &sts, &qid, &attr, cstr);
(*env)->ReleaseStringUTFChars( env, jname, cstr);
printf( "Create que, qix %d, nid %d, sts %d\n", qid.qix, qid.nid, sts);
jsts = (jint) sts;
return_obj = (*env)->NewObject( env, qcomrCreateQ_id,
qcomrCreateQ_cid, qid.qix, qid.nid, jsts);
// Bind to broadcast que
// qcom_Bind( &sts, &qid, &other_que);
// if ( EVEN(sts))
// printf("** Unable to bind to qcom broadcast que\n");
return return_obj;
}
JNIEXPORT jobject JNICALL Java_jpwr_rt_Qcom_getString
(JNIEnv *env, jobject object, jint qix, jint nid)
{
int sts;
jclass cdhrString_id;
jmethodID cdhrString_cid;
jobject return_obj;
jint jsts;
qcom_sQid qid;
qcom_sGet get;
jstring jdata = NULL;
int sts2;
// static qcom_sAid op_aid = {0,0};
// qcom_sAid aid;
cdhrString_id = (*env)->FindClass( env, "jpwr/rt/CdhrString");
cdhrString_cid = (*env)->GetMethodID( env, cdhrString_id,
"<init>", "(Ljava/lang/String;I)V");
qid.qix = qix;
qid.nid = nid;
memset( &get, 0, sizeof(get));
qcom_Get( &sts, &qid, &get, 0);
if ( ODD(sts))
{
printf("Qcom_get: Received data: %s\n", (char *)get.data);
jdata = (*env)->NewStringUTF( env, (char *)get.data);
// Get disconnect broadcast...
// if ( get.type.b == qcom_eBtype_qcom &&
// get.type.s == qcom_eStype_applDisconnect)
// {
// aid = ((qcom_sAppl*) get.data)->aid;
// printf("applDisconnect received %d\n", aid.aix);
// if ( qcom_AidIsEqual( &aid, &op_aid))
// {
// jdata = (*env)->NewStringUTF( env, "qcom_exit");
// }
// }
// else
// {
// op_aid = get.sender;
// printf( "Aid received: %d\n", op_aid.aix);
// jdata = (*env)->NewStringUTF( env, (char *)get.data);
// }
qcom_Free( &sts2, get.data);
}
jsts = (jint) sts;
return_obj = (*env)->NewObject( env, cdhrString_id,
cdhrString_cid, jdata, jsts);
return return_obj;
}
JNIEXPORT jobject JNICALL Java_jpwr_rt_Qcom_putString
(JNIEnv *env, jobject object, jint qix, jint nid, jstring jdata)
{
int sts;
const char *data;
jclass pwrtStatus_id;
jmethodID pwrtStatus_cid;
jobject return_obj;
jint jsts;
qcom_sQid qid;
qcom_sPut put;
char *cstr;
// int sts2;
pwrtStatus_id = (*env)->FindClass( env, "jpwr/rt/PwrtStatus");
pwrtStatus_cid = (*env)->GetMethodID( env, pwrtStatus_id,
"<init>", "(I)V");
data = (*env)->GetStringUTFChars( env, jdata, 0);
cstr = (char *)data;
put.data = (char *)data;
put.size = strlen(data) + 1;
put.type.b = qcom_eBtype__;
put.type.s = qcom_eStype__;
put.reply.qix = 0;
put.reply.nid = 0;
qid.qix = qix;
qid.nid = nid;
sts = qcom_Put( &sts, &qid, &put);
(*env)->ReleaseStringUTFChars( env, jdata, cstr);
// if ( ODD(sts))
// qcom_Free( &sts2, put.data);
jsts = (jint) sts;
return_obj = (*env)->NewObject( env, pwrtStatus_id,
pwrtStatus_cid, jsts);
return return_obj;
}
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class jpwr_rt_Qcom */
#ifndef _Included_jpwr_rt_Qcom
#define _Included_jpwr_rt_Qcom
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: jpwr_rt_Qcom
* Method: createQ
* Signature: (IILjava/lang/String;)Ljpwr/rt/QcomrCreateQ;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Qcom_createQ
(JNIEnv *, jobject, jint, jint, jstring);
/*
* Class: jpwr_rt_Qcom
* Method: getString
* Signature: (II)Ljpwr/rt/CdhrString;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Qcom_getString
(JNIEnv *, jobject, jint, jint);
/*
* Class: jpwr_rt_Qcom
* Method: putString
* Signature: (IILjava/lang/String;)Ljpwr/rt/PwrtStatus;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_Qcom_putString
(JNIEnv *, jobject, jint, jint, jstring);
#ifdef __cplusplus
}
#endif
#endif
#include "jpwr_rt_rtsecurity.h"
#include "pwr.h"
#include "pwr_privilege.h"
#include "co_api.h"
JNIEXPORT jobject JNICALL Java_jpwr_rt_RtSecurity_checkUser
(JNIEnv *env , jclass object, jstring jsystemgroup, jstring juser,
jstring jpassword)
{
int sts;
const char *systemgroup;
char *csystemgroup;
const char *user;
char *cuser;
const char *password;
char *cpassword;
jclass cdhrInt_id;
jmethodID cdhrInt_cid;
jobject return_obj;
unsigned int priv;
jint jsts;
jint jpriv;
cdhrInt_id = (*env)->FindClass( env, "jpwr/rt/CdhrInt");
cdhrInt_cid = (*env)->GetMethodID( env, cdhrInt_id,
"<init>", "(II)V");
systemgroup = (*env)->GetStringUTFChars( env, jsystemgroup, 0);
csystemgroup = (char *)systemgroup;
user = (*env)->GetStringUTFChars( env, juser, 0);
cuser = (char *)user;
password = (*env)->GetStringUTFChars( env, jpassword, 0);
cpassword = (char *)password;
sts = user_CheckUser( csystemgroup, cuser, cpassword, &priv);
(*env)->ReleaseStringUTFChars( env, jsystemgroup, csystemgroup);
(*env)->ReleaseStringUTFChars( env, juser, cuser);
(*env)->ReleaseStringUTFChars( env, jpassword, cpassword);
jsts = (jint) sts;
if ( sts % 2 == 0)
priv = pwr_mPrv_RtRead;
jpriv = priv;
return_obj = (*env)->NewObject( env, cdhrInt_id,
cdhrInt_cid, jpriv, jsts);
return return_obj;
}
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class jpwr_rt_RtSecurity */
#ifndef _Included_jpwr_rt_RtSecurity
#define _Included_jpwr_rt_RtSecurity
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: jpwr_rt_RtSecurity
* Method: checkUser
* Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljpwr/rt/CdhrInt;
*/
JNIEXPORT jobject JNICALL Java_jpwr_rt_RtSecurity_checkUser
(JNIEnv *, jclass, jstring, jstring, jstring);
#ifdef __cplusplus
}
#endif
#endif
all:
gcc -DHW_X86 -DOS_LINUX \
-I/proview/x3-2a/rls_dbg/os_linux/hw_x86/exp/inc -o rt_io_ssab.o \
-c rt_io_ssab.c
gcc -DHW_X86 -DOS_LINUX \
-I/proview/x3-2a/rls_dbg/os_linux/hw_x86/exp/inc -o rt_rtt.o \
-c rt_rtt.c
gcc -DHW_X86 -DOS_LINUX \
-I/usr/local/jdk1.2.2/include \
-I/proview/x3-2a/rls_dbg/os_linux/hw_x86/exp/inc -o Qcom.o \
-I/usr/local/jdk1.2.2/include/linux \
-I/usr/local/src/posix1b \
-c Qcom.c
gcc -DHW_X86 -DOS_LINUX \
-I/usr/local/jdk1.2.2/include \
-I/proview/x3-2a/rls_dbg/os_linux/hw_x86/exp/inc -o Gdh.o \
-I/usr/local/jdk1.2.2/include/linux \
-I/usr/local/src/posix1b \
-c Gdh.c
g++ -shared -DHW_X86 -DOS_LINUX \
-L/proview/x3-2a/rls_dbg/os_linux/hw_x86/exp/lib \
-L/usr/X11R6/lib \
-I/usr/local/jdk1.2.2/include \
-I/proview/x3-2a/rls_dbg/os_linux/hw_x86/exp/inc \
-I/usr/local/jdk1.2.2/include/linux \
/proview/x3-2a/rls_dbg/os_linux/hw_x86/bld/lib/co/*.o \
/proview/x3-2a/rls_dbg/os_linux/hw_x86/bld/lib/msg_dummy/*.o \
/proview/x3-2a/rls_dbg/os_linux/hw_x86/bld/lib/rt/*.o \
/proview/x3-2a/rls_dbg/os_linux/hw_x86/bld/lib/flow/*.o \
/proview/x3-2a/rls_dbg/os_linux/hw_x86/bld/lib/glow/*.o \
/proview/x3-2a/rls_dbg/os_linux/hw_x86/bld/lib/ge/*.o \
/proview/x3-2a/rls_dbg/os_linux/hw_x86/exp/obj/rt_io_user.o \
/proview/x3-2a/rls_dbg/os_linux/hw_x86/exp/obj/dtt_rttsys.o \
rt_io_ssab.o rt_rtt.o Qcom.o\
Gdh.o -o libgdh.so -lm -lpthread -lposix1b -lpwr_dtt \
-lMrm -lXm -lXpm -lXt -lX11 -lXext -lXp\
-lSM -lICE
test:
gcc test.c -o test -ljavagdh
libr:
gcc -shared -DHW_X86 -DOS_LINUX -L/proview/linux_dbg/os_linux/hw_x86/exp/lib -I/usr/local/jdk/include -I/proview/linux_dbg/os_linux/hw_x86/exp/inc -I/usr/local/jdk/include/linux /proview/linux_dbg/os_linux/hw_x86/bld/lib/co/*.o /proview/linux_dbg/os_linux/hw_x86/bld/lib/msg_dummy/*.o /proview/linux_dbg/os_linux/hw_x86/bld/lib/rt/*.o /usr/local/src/proview/bld_dbg/os_linux/hw_x86/exp/obj/rt_io_user.o ssabio.c rtt.c JavaPwrImp.c -o libjavagdh.so -lm -lpthread -lposix1b -lpwr_dtt
/* rt_io_ssab.c -- init, read and write ssab cards.
PROVIEW/R
Copyright (C) 1994 by Comator Process AB. */
# include <string.h>
# include <stdlib.h>
# include <stdio.h>
int ssab_close(
void *hv_device)
{
return 1;
}
int ssabai_ini(
char *inidev,
void *adressini,
void *hv_device,
int relvec)
{
int sts;
* (int *)adressini = 12345;
sts = 1;
return sts;
}
unsigned short ssabai_read(
void *reg_diP,
int grupp)
{
unsigned short di_data;
di_data = 3020;
return di_data;
}
unsigned short ssabaiup_read(
void *reg_diP,
int grupp)
{
unsigned short di_data;
di_data = 3020;
return di_data;
}
int ssabao_ini(
char *inidev,
void *adressini,
void *hv_device,
int relvec)
{
int sts;
* (int *)adressini = 12345;
sts = 1;
return sts;
}
void ssabao_write(
short data,
void *reg_diP,
int channel)
{
}
int ssabd_ini(
char *inidev,
void *adressini,
void *hv_device,
int relvec)
{
int sts;
* (int *)adressini = 12345;
sts = 1;
return sts;
}
unsigned short ssabdi_read(
void *reg_diP,
int grupp)
{
unsigned short di_data;
di_data = 21845;
return di_data;
}
void ssabdo_write(
short data,
void *reg_diP,
int grupp)
{
}
void ssabco_read(
void *reg_diP,
int numofword,
int *co_id,
unsigned short *data,
int channel)
{
*data = 21845;
}
void ssabco_write(
unsigned short *data,
void *reg_P,
int channel)
{
}
#include "pwr.h"
#include "rt_rtt.h"
#include "rt_rtt_menu.h"
RTT_DB_START
RTT_DB_CONTINUE
RTT_DB_END
RTT_HELP_START
RTT_HELP_END
RTT_MAINMENU_START("")
RTT_MAINMENU_END
package jpwr.beans;
import jpwr.rt.*;
import jpwr.jop.*;
import java.awt.*;
import java.awt.geom.*;
import java.awt.image.*;
import java.awt.font.*;
import javax.swing.*;
public class JopArrow extends JComponent {
Dimension size;
public JopArrow()
{
try {
jbInit();
}
catch(Exception e) {
e.printStackTrace();
}
}
private void jbInit() throws Exception {
size = new Dimension( 24, 24);
}
int fillColor = 9999;
int originalFillColor = 9999;
int borderColor = 9999;
int colorTone = 0;
int originalColorTone = 0;
int colorShift = 0;
int originalColorShift = 0;
int colorBrightness = 0;
int originalColorBrightness = 0;
int colorIntensity = 0;
int originalColorIntensity = 0;
int colorInverse = 0;
int originalColorInverse = 0;
public void setColorTone( int colorTone) {
this.colorTone = colorTone;
originalColorTone = colorTone;
}
public int getColorTone() {
return colorTone;
}
public void setColorShift( int colorShift) {
this.colorShift = colorShift;
originalColorShift = colorShift;
}
public int getColorShift() {
return colorShift;
}
public void setColorBrightness( int colorBrightness) {
this.colorBrightness = colorBrightness;
originalColorBrightness = colorBrightness;
}
public int getColorBrightness() {
return colorBrightness;
}
public void setColorIntensity( int colorIntensity) {
this.colorIntensity = colorIntensity;
originalColorIntensity = colorIntensity;
}
public int getColorIntensity() {
return colorIntensity;
}
public void setFillColor( int fillColor) {
this.fillColor = fillColor;
this.originalFillColor = fillColor;
}
public void resetFillColor() {
fillColor = originalFillColor;
}
public int getFillColor() {
return fillColor;
}
public void setBorderColor( int borderColor) {
this.borderColor = borderColor;
}
public int getBorderColor() {
return borderColor;
}
int original_width = 24;
int original_height = 24;
double rotate;
public void setRotate( double rotate) {
if ( rotate < 0)
this.rotate = rotate % 360 + 360;
else
this.rotate = rotate % 360;
}
public double getRotate() { return rotate;}
Shape[] shapes = new Shape[] {
new Polygon( new int[] { 12, 2, 22, 12}, new int[] {2, 22, 22, 2}, 4),
};
public void paint(Graphics g1) {
Graphics2D g = (Graphics2D) g1;
Component c;
Point p;
paintComponent(g);
for ( int i = 0; i < getComponentCount(); i++) {
AffineTransform save = g.getTransform();
c = getComponent(i);
p = c.getLocation();
g.translate((int)p.getX(), (int)p.getY());
c.paint(g);
g.setTransform(save);
}
}
public void paintComponent(Graphics g1) {
Graphics2D g = (Graphics2D) g1;
float width = getWidth();
float height = getHeight();
AffineTransform save = g.getTransform();
AffineTransform save_tmp;
g.setRenderingHint(RenderingHints.KEY_ANTIALIASING,RenderingHints.VALUE_ANTIALIAS_ON);
if ( 45.0 <= rotate && rotate < 135.0) {
g.translate( width, 0.0);
g.rotate( Math.PI * rotate/180, 0.0, 0.0);
g.transform( AffineTransform.getScaleInstance( height/original_width,
width/original_height));
}
else if ( 135.0 <= rotate && rotate < 225.0)
{
g.rotate( Math.PI * rotate/180, width/2, height/2);
g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height));
}
else if ( 225.0 <= rotate && rotate < 315.0)
{
g.translate( -height, 0.0);
g.rotate( Math.PI * rotate/180, height, 0.0);
g.transform( AffineTransform.getScaleInstance( height/original_width,
width/original_height));
}
else
g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height));
g.setColor(GeColor.getColor(2, colorTone,
colorShift, colorIntensity, colorBrightness, colorInverse, fillColor));
g.fill( shapes[0]);
g.setStroke( new BasicStroke(1F));
g.setColor(GeColor.getColor(0, colorTone,
colorShift, colorIntensity, colorBrightness, colorInverse, borderColor));
g.draw( shapes[0]);
g.setTransform(save);
}
public Dimension getPreferredSize() { return size;}
public Dimension getMinimumSize() { return size;}
}
package jpwr.beans;
import jpwr.jop.*;
import java.beans.*;
public class JopArrowBeanInfo extends SimpleBeanInfo {
Class beanClass = JopArrow.class;
String iconColor16x16Filename = "joparrow16.gif";
String iconColor32x32Filename = "joparrow32.gif";
String iconMono16x16Filename;
String iconMono32x32Filename;
public JopArrowBeanInfo() {
}
public PropertyDescriptor[] getPropertyDescriptors() {
try {
PropertyDescriptor _toolTipText = new PropertyDescriptor("toolTipText",
beanClass, "getToolTipText", "setToolTipText");
_toolTipText.setDisplayName("toolTipText");
_toolTipText.setShortDescription("toolTipText");
PropertyDescriptor _fillColor = new PropertyDescriptor("fillColor",
beanClass, "getFillColor", "setFillColor");
_fillColor.setDisplayName("fillColor");
_fillColor.setShortDescription("fillColor");
_fillColor.setPropertyEditorClass(GeColorEditor.class);
PropertyDescriptor _borderColor = new PropertyDescriptor("borderColor",
beanClass, "getBorderColor", "setBorderColor");
_borderColor.setDisplayName("borderColor");
_borderColor.setShortDescription("borderColor");
_borderColor.setPropertyEditorClass(GeColorEditor.class);
PropertyDescriptor _colorTone = new PropertyDescriptor("colorTone",
beanClass, "getColorTone", "setColorTone");
_colorTone.setDisplayName("colorTone");
_colorTone.setShortDescription("colorTone");
_colorTone.setPropertyEditorClass(GeColorToneEditor.class);
PropertyDescriptor _colorShift = new PropertyDescriptor("colorShift",
beanClass, "getColorShift", "setColorShift");
_colorShift.setDisplayName("colorShift");
_colorShift.setShortDescription("colorShift");
_colorShift.setPropertyEditorClass(GeColorShiftEditor.class);
PropertyDescriptor _colorBrightness = new PropertyDescriptor("colorBrightness",
beanClass, "getColorBrightness", "setColorBrightness");
_colorBrightness.setDisplayName("colorBrightness");
_colorBrightness.setShortDescription("colorBrightness");
_colorBrightness.setPropertyEditorClass(GeColorBrightnessEditor.class);
PropertyDescriptor _colorIntensity = new PropertyDescriptor("colorIntensity",
beanClass, "getColorIntensity", "setColorIntensity");
_colorIntensity.setDisplayName("colorIntensity");
_colorIntensity.setShortDescription("colorIntensity");
_colorIntensity.setPropertyEditorClass(GeColorIntensityEditor.class);
PropertyDescriptor _rotate = new PropertyDescriptor("rotate",
beanClass, "getRotate", "setRotate");
_rotate.setDisplayName("rotate");
_rotate.setShortDescription("rotate");
PropertyDescriptor[] pds = new PropertyDescriptor[] {
_toolTipText, _fillColor, _borderColor, _colorTone, _colorShift,
_colorBrightness, _colorIntensity, _rotate};
return pds;
}
catch(IntrospectionException ex) {
ex.printStackTrace();
return null;
}
}
public java.awt.Image getIcon(int iconKind) {
switch (iconKind) {
case BeanInfo.ICON_COLOR_16x16:
return iconColor16x16Filename != null ? loadImage(iconColor16x16Filename) : null;
case BeanInfo.ICON_COLOR_32x32:
return iconColor32x32Filename != null ? loadImage(iconColor32x32Filename) : null;
case BeanInfo.ICON_MONO_16x16:
return iconMono16x16Filename != null ? loadImage(iconMono16x16Filename) : null;
case BeanInfo.ICON_MONO_32x32:
return iconMono32x32Filename != null ? loadImage(iconMono32x32Filename) : null;
}
return null;
}
public BeanInfo[] getAdditionalBeanInfo() {
Class superclass = beanClass.getSuperclass();
try {
BeanInfo superBeanInfo = Introspector.getBeanInfo(superclass);
// return new BeanInfo[] { superBeanInfo };
return null;
}
catch(IntrospectionException ex) {
ex.printStackTrace();
return null;
}
}
}
package jpwr.beans;
import jpwr.rt.*;
import jpwr.jop.*;
import java.awt.*;
import java.awt.geom.*;
import java.awt.image.*;
import java.awt.font.*;
import javax.swing.*;
import javax.swing.Timer;
import java.awt.event.*;
public class JopButtoncommand extends JComponent implements JopDynamic, ActionListener{
Dimension size;
Object root;
int clickAction = Jop.BUTTON_ACTION_COMMAND;
public int getClickAction() { return clickAction;}
public void setClickAction(int clickAction) { this.clickAction = clickAction;}
String command = new String();
public String getCommand() { return command;}
public void setCommand( String command) { this.command = command;}
Timer timer = new Timer(500, this);
JopSession session;
public JopButtoncommand()
{
try {
jbInit();
}
catch(Exception e) {
e.printStackTrace();
}
}
private void jbInit() throws Exception {
size = new Dimension( 102, 36);
timer.start();
this.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
PwrtStatus sts;
if (clickAction == Jop.BUTTON_ACTION_SET) {
sts = Gdh.setObjectInfo( pwrAttribute, true);
if ( sts.evenSts())
System.out.println( "setObjectInfoError " + sts);
}
else if(clickAction == Jop.BUTTON_ACTION_RESET) {
sts = Gdh.setObjectInfo( pwrAttribute, false);
if ( sts.evenSts())
System.out.println( "setObjectInfoError " + sts);
}
else if(clickAction == Jop.BUTTON_ACTION_TOGGLE) {
sts = Gdh.toggleObjectInfo(pwrAttribute);
if ( sts.evenSts())
System.out.println( "setObjectInfoError " + sts);
}
else if(clickAction == Jop.BUTTON_ACTION_COMMAND) {
Jop.executeCommand( session, command);
}
}
public void mousePressed(MouseEvent e) {
colorInverse = 1;
repaint();
}
public void mouseReleased(MouseEvent e) {
colorInverse = 0;
repaint();
}
});
}
public void actionPerformed(ActionEvent e) {
boolean engine_found = false;
Container parent = getParent();
while ( parent != null) {
if ( parent instanceof JopFrame) {
((JopFrame)parent).engine.add(this);
root = parent;
session = ((JopFrame)root).session;
engine_found = true;
break;
}
parent = parent.getParent();
}
if ( !engine_found) {
parent = getParent();
while ( parent != null) {
if ( parent instanceof JopApplet) {
((JopApplet)parent).engine.add(this);
root = parent;
session = ((JopApplet)root).session;
engine_found = true;
break;
}
parent = parent.getParent();
}
}
if ( engine_found) {
timer.stop();
timer = null;
}
}
String annot1 = new String();
public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 14);
public void setAnnot1Font( Font font) { annot1Font = font;}
public Font getAnnot1Font() { return annot1Font;}
int fillColor = 9999;
int originalFillColor = 9999;
int borderColor = 9999;
int colorTone = 0;
int originalColorTone = 0;
int colorShift = 0;
int originalColorShift = 0;
int colorBrightness = 0;
int originalColorBrightness = 0;
int colorIntensity = 0;
int originalColorIntensity = 0;
int colorInverse = 0;
int originalColorInverse = 0;
public void setColorTone( int colorTone) {
this.colorTone = colorTone;
originalColorTone = colorTone;
}
public int getColorTone() {
return colorTone;
}
public void setColorShift( int colorShift) {
this.colorShift = colorShift;
originalColorShift = colorShift;
}
public int getColorShift() {
return colorShift;
}
public void setColorBrightness( int colorBrightness) {
this.colorBrightness = colorBrightness;
originalColorBrightness = colorBrightness;
}
public int getColorBrightness() {
return colorBrightness;
}
public void setColorIntensity( int colorIntensity) {
this.colorIntensity = colorIntensity;
originalColorIntensity = colorIntensity;
}
public int getColorIntensity() {
return colorIntensity;
}
public void setFillColor( int fillColor) {
this.fillColor = fillColor;
this.originalFillColor = fillColor;
}
public void resetFillColor() {
fillColor = originalFillColor;
}
public int getFillColor() {
return fillColor;
}
public void setBorderColor( int borderColor) {
this.borderColor = borderColor;
}
public int getBorderColor() {
return borderColor;
}
int original_width = 102;
int original_height = 36;
double rotate;
public void setRotate( double rotate) { this.rotate = rotate;}
public double getRotate() { return rotate;}
Shape[] shapes = new Shape[] {
new Rectangle2D.Float(2F, 2F, 98F, 32F),
new Polygon( new int[] { 2, 8, 8, 94, 100, 2, 2}, new int[] {34, 28, 8, 8, 2, 2, 34}, 7),
new Polygon( new int[] { 2, 8, 94, 94, 100, 100, 2}, new int[] {34, 28, 28, 8, 2, 34, 34}, 7),
new Rectangle2D.Float(2F, 2F, 98F, 32F),
};
public void paint(Graphics g1) {
Graphics2D g = (Graphics2D) g1;
Component c;
Point p;
paintComponent(g);
for ( int i = 0; i < getComponentCount(); i++) {
AffineTransform save = g.getTransform();
c = getComponent(i);
p = c.getLocation();
g.translate((int)p.getX(), (int)p.getY());
c.paint(g);
g.setTransform(save);
}
}
public void paintComponent(Graphics g1) {
Graphics2D g = (Graphics2D) g1;
double scaleWidth = ((double) getWidth()) / original_width;
double scaleHeight = ((double) getHeight()) / original_height;
AffineTransform save = g.getTransform();
g.setRenderingHint(RenderingHints.KEY_ANTIALIASING,RenderingHints.VALUE_ANTIALIAS_ON);
if ( rotate != 0)
g.transform( AffineTransform.getRotateInstance(
Math.PI * rotate/180,((double)original_width)/2, ((double)original_height)/2));
g.transform( AffineTransform.getScaleInstance( scaleWidth, scaleHeight));
g.setColor(GeColor.getColor(22, colorTone,
colorShift, colorIntensity, colorBrightness, colorInverse, fillColor));
g.fill( shapes[0]);
g.setColor(GeColor.getColor(20, colorTone,
colorShift, colorIntensity, colorBrightness, colorInverse, fillColor));
g.fill( shapes[1]);
g.setColor(GeColor.getColor(23, colorTone,
colorShift, colorIntensity, colorBrightness, colorInverse, fillColor));
g.fill( shapes[2]);
g.setStroke( new BasicStroke(1F));
g.setColor(GeColor.getColor(0, borderColor));
g.draw( shapes[3]);
g.setColor(Color.black);
g.setFont( annot1Font);
g.drawString( annot1,13, 22);
g.setTransform(save);
}
public Dimension getPreferredSize() { return size;}
public Dimension getMinimumSize() { return size;}
int lowColor = 0;
public void setLowColor( int lowColor) { this.lowColor = lowColor;}
public int getLowColor() { return lowColor;}
String pwrAttribute = new String();
public void setPwrAttribute( String pwrAttribute) { this.pwrAttribute = pwrAttribute;}
public String getPwrAttribute() { return pwrAttribute;}
String pwrAttrColor = new String();
public void setPwrAttrColor( String pwrAttrColor) { this.pwrAttrColor = pwrAttrColor;}
public String getPwrAttrColor() { return pwrAttrColor;}
String pwrAttrText = new String();
public void setPwrAttrText( String pwrAttrText) { this.pwrAttrText = pwrAttrText;}
public String getPwrAttrText() { return pwrAttrText;}
String textLow = new String();
public void setTextLow( String textLow) { this.textLow = textLow;}
public String getTextLow() { return textLow;}
String textHigh = new String();
public void setTextHigh( String textHigh) { this.textHigh = textHigh;}
public String getTextHigh() { return textHigh;}
boolean valueColor;
boolean valueColorOld;
boolean valueText;
boolean valueTextOld;
boolean firstScan = true;
GdhrRefObjectInfo retColor = null;
GdhrRefObjectInfo retText = null;
boolean colorAttrFound = false;
boolean textAttrFound = false;
public void dynamicOpen() {
if ( pwrAttrColor.compareTo("") != 0) {
retColor = Gdh.refObjectInfo( pwrAttrColor);
if ( retColor.evenSts())
System.out.println( "refObjectInfoError retColor");
else
colorAttrFound = true;
}
if ( pwrAttrText.compareTo("") != 0) {
retText = Gdh.refObjectInfo( pwrAttrText);
if ( retText.evenSts())
System.out.println( "refObjectInfoError retText");
else
textAttrFound = true;
}
}
public void dynamicClose() {
if ( colorAttrFound)
Gdh.unrefObjectInfo( retColor.refid);
if ( textAttrFound)
Gdh.unrefObjectInfo( retText.refid);
}
public void dynamicUpdate( boolean animationOnly) {
if ( animationOnly)
return;
if ( textAttrFound) {
valueText = Gdh.getObjectRefInfoBoolean( retText.id);
if ( valueText != valueTextOld || firstScan) {
if ( valueText) {
annot1 = textHigh;
repaint();
}
else {
annot1 = textLow;
repaint();
}
}
valueTextOld = valueText;
}
if ( colorAttrFound) {
valueColor = Gdh.getObjectRefInfoBoolean( retColor.id);
if ( valueColorOld != valueColor || firstScan) {
if ( valueColor) {
fillColor = originalFillColor;
repaint();
}
else {
fillColor = lowColor;
repaint();
}
valueColorOld = valueColor;
}
}
if ( firstScan)
firstScan = false;
}
public Object dynamicGetRoot() {
return null;
}
}
package jpwr.beans;
import jpwr.rt.*;
import jpwr.jop.*;
import java.awt.*;
import java.awt.geom.*;
import java.awt.image.*;
import java.awt.font.*;
import javax.swing.*;
import javax.swing.Timer;
import java.awt.event.*;
public class JopButtonimage extends JComponent implements JopDynamic, JopConfirm, ActionListener{
Dimension size;
Object root;
JopEngine en;
int clickAction = Jop.BUTTON_ACTION_SET;
public int getClickAction() { return clickAction;}
public void setClickAction(int clickAction) { this.clickAction = clickAction;}
String command = new String();
public String getCommand() { return command;}
public void setCommand( String command) { this.command = command;}
String confirmText = new String();
public String getConfirmText() { return confirmText;}
public void setConfirmText( String confirmText) { this.confirmText = confirmText;}
boolean confirm = false;
public boolean getConfirm() { return confirm;}
public void setConfirm( boolean confirm) { this.confirm = confirm;}
Timer timer = new Timer(500, this);
Image normalImage;
Image lowImage;
Image pressImage;
Image currentImage;
JopSession session;
public JopButtonimage component = this;
public JopButtonimage()
{
try {
jbInit();
}
catch(Exception e) {
e.printStackTrace();
}
}
private void jbInit() throws Exception {
size = new Dimension( 102, 36);
timer.start();
}
public void actionPerformed(ActionEvent e) {
boolean engine_found = false;
Container parent = getParent();
while ( parent != null) {
if ( parent instanceof JopFrame) {
en = ((JopFrame)parent).engine;
root = parent;
session = ((JopFrame)root).session;
if ( !en.isReady())
break;
en.add(this);
engine_found = true;
break;
}
parent = parent.getParent();
}
if ( !engine_found) {
parent = getParent();
while ( parent != null) {
if ( parent instanceof JopApplet) {
en = ((JopApplet)parent).engine;
root = parent;
session = ((JopApplet)root).session;
if ( !en.isReady())
break;
en.add(this);
engine_found = true;
break;
}
parent = parent.getParent();
}
}
if ( engine_found) {
timer.stop();
timer = null;
if ( en.gdh.isAuthorized( access)) {
this.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
PwrtStatus sts;
if ( confirm) {
JopConfirmDialog.open( component, confirmText);
}
else if (clickAction == Jop.BUTTON_ACTION_SET) {
sts = en.gdh.setObjectInfo( pwrAttribute, true);
if ( sts.evenSts())
System.out.println( "setObjectInfoError " + sts);
}
else if(clickAction == Jop.BUTTON_ACTION_RESET) {
sts = en.gdh.setObjectInfo( pwrAttribute, false);
if ( sts.evenSts())
System.out.println( "setObjectInfoError " + sts);
}
else if(clickAction == Jop.BUTTON_ACTION_TOGGLE) {
sts = en.gdh.toggleObjectInfo(pwrAttribute);
if ( sts.evenSts())
System.out.println( "setObjectInfoError " + sts);
}
else if(clickAction == Jop.BUTTON_ACTION_COMMAND) {
Jop.executeCommand( session, command);
}
}
public void mousePressed(MouseEvent e) {
currentImage = pressImage;
pressed = true;
repaint();
}
public void mouseReleased(MouseEvent e) {
if ( valueImage)
currentImage = normalImage;
else
currentImage = lowImage;
pressed = false;
repaint();
}
});
}
}
}
public void confirmYes() {
PwrtStatus sts;
switch ( clickAction) {
case Jop.BUTTON_ACTION_SET:
sts = en.gdh.setObjectInfo( pwrAttribute, true);
if ( sts.evenSts())
System.out.println( "setObjectInfoError " + sts);
break;
case Jop.BUTTON_ACTION_RESET:
sts = en.gdh.setObjectInfo( pwrAttribute, false);
if ( sts.evenSts())
System.out.println( "setObjectInfoError " + sts);
break;
case Jop.BUTTON_ACTION_TOGGLE:
sts = en.gdh.toggleObjectInfo( pwrAttribute);
if ( sts.evenSts())
System.out.println( "setObjectInfoError " + sts);
break;
case Jop.BUTTON_ACTION_COMMAND:
if ( command.compareTo("") != 0)
Jop.executeCommand( session, command);
break;
}
}
private int access = 65532;
public void setAccess( int access) { this.access = access;}
public int getAccess() { return access;}
public void paint(Graphics g1) {
Graphics2D g = (Graphics2D) g1;
Component c;
Point p;
paintComponent(g);
for ( int i = 0; i < getComponentCount(); i++) {
AffineTransform save = g.getTransform();
c = getComponent(i);
p = c.getLocation();
g.translate((int)p.getX(), (int)p.getY());
c.paint(g);
g.setTransform(save);
}
}
public void paintComponent(Graphics g1) {
Graphics2D g = (Graphics2D) g1;
if ( root == null) {
Container parent = getParent();
while ( parent != null) {
if ( parent instanceof JopFrame) {
root = parent;
session = ((JopFrame)root).session;
break;
}
else if ( parent instanceof JopApplet) {
root = parent;
session = ((JopApplet)root).session;
break;
}
parent = parent.getParent();
}
}
if ( root == null)
return;
if ( (normalImage == null && image != null) ||
(image != null && !image.equals(imageOld))) {
normalImage = JopSpider.getImage( session, image);
imageOld = new String(image);
int imageWidth = normalImage.getWidth(this);
int imageHeight = normalImage.getHeight(this);
if ( valueImage)
currentImage = normalImage;
}
if (lowImage == null && imageLow != null) {
lowImage = JopSpider.getImage( session, imageLow);
int imageWidth = lowImage.getWidth(this);
int imageHeight = lowImage.getHeight(this);
if ( !valueImage)
currentImage = lowImage;
}
if (pressImage == null && imagePress != null) {
pressImage = JopSpider.getImage( session, imagePress);
int imageWidth = pressImage.getWidth(this);
int imageHeight = pressImage.getHeight(this);
}
if ( currentImage != null)
g.drawImage( currentImage, 0, 0, this);
}
String image = "test.gif";
String imageLow = "test.gif";
String imagePress = "test.gif";
public String getImage() {
return image;
}
public void setImage( String image) {
this.image = image;
}
public String getImageLow() {
return imageLow;
}
public void setImageLow( String imageLow) {
this.imageLow = imageLow;
}
public String getImagePress() {
return imagePress;
}
public void setImagePress( String imagePress) {
this.imagePress = imagePress;
}
String imageOld;
float widthOld = 0;
float heightOld = 0;
public Dimension getPreferredSize() { return size;}
public Dimension getMinimumSize() { return size;}
String pwrAttribute = new String();
public void setPwrAttribute( String pwrAttribute) { this.pwrAttribute = pwrAttribute;}
public String getPwrAttribute() { return pwrAttribute;}
String pwrAttrImage = new String();
public void setPwrAttrImage( String pwrAttrImage) { this.pwrAttrImage = pwrAttrImage;}
public String getPwrAttrImage() { return pwrAttrImage;}
boolean valueImage = true;
boolean valueImageOld;
boolean firstScan = true;
boolean pressed = false;
boolean pressedOld;
GdhrRefObjectInfo retImage = null;
boolean imageAttrFound = false;
public void dynamicOpen() {
if ( pwrAttrImage.compareTo("") != 0) {
retImage = en.gdh.refObjectInfo( pwrAttrImage);
if ( retImage.evenSts())
System.out.println( "refObjectInfoError retImage");
else
imageAttrFound = true;
}
}
public void dynamicClose() {
if ( imageAttrFound)
en.gdh.unrefObjectInfo( retImage.refid);
}
public void dynamicUpdate( boolean animationOnly) {
if ( animationOnly)
return;
if ( normalImage == null)
return;
if ( imageAttrFound) {
valueImage = en.gdh.getObjectRefInfoBoolean( retImage.id);
if ( valueImageOld != valueImage || pressed != pressedOld || firstScan) {
if ( pressed)
currentImage = pressImage;
else if ( valueImage) {
currentImage = normalImage;
repaint();
}
else {
currentImage = lowImage;
repaint();
}
}
valueImageOld = valueImage;
pressedOld = pressed;
}
if ( firstScan)
firstScan = false;
}
public boolean imageUpdate( Image img, int infoflags, int x, int y,
int width, int height) {
if (( infoflags & ImageObserver.ERROR) != 0) {
System.out.println("Error loading image");
}
if ((infoflags & ImageObserver.WIDTH) != 0 &&
(infoflags & ImageObserver.HEIGHT) != 0) {
int imageWidth = img.getWidth(this);
int imageHeight = img.getHeight(this);
}
if ((infoflags & ImageObserver.SOMEBITS) != 0) {
if ( img == currentImage)
repaint();
}
if ((infoflags & ImageObserver.ALLBITS) != 0) {
int imageWidth = img.getWidth(this);
int imageHeight = img.getHeight(this);
if ( img == currentImage)
repaint();
return false;
}
return true;
}
public Object dynamicGetRoot() {
return null;
}
}
package jpwr.beans;
import jpwr.jop.*;
import java.beans.*;
public class JopButtonimageBeanInfo extends SimpleBeanInfo {
Class beanClass = JopButtonimage.class;
String iconColor16x16Filename = "jopbuttonimage16.gif";
String iconColor32x32Filename = "jopbuttonimage32.gif";
String iconMono16x16Filename;
String iconMono32x32Filename;
public JopButtonimageBeanInfo() {
}
public PropertyDescriptor[] getPropertyDescriptors() {
try {
PropertyDescriptor _image = new PropertyDescriptor("image",
beanClass, "getImage", "setImage");
_image.setDisplayName("image");
_image.setShortDescription("image");
PropertyDescriptor _imageLow = new PropertyDescriptor("imageLow",
beanClass, "getImageLow", "setImageLow");
_imageLow.setDisplayName("imageLow");
_imageLow.setShortDescription("imageLow");
PropertyDescriptor _imagePress = new PropertyDescriptor("imagePress",
beanClass, "getImagePress", "setImagePress");
_imagePress.setDisplayName("imagePress");
_imagePress.setShortDescription("imagePress");
PropertyDescriptor _pwrAttribute = new PropertyDescriptor("pwrAttribute",
beanClass, "getPwrAttribute", "setPwrAttribute");
_pwrAttribute.setDisplayName("pwrAttribute");
_pwrAttribute.setShortDescription("pwrAttribute");
PropertyDescriptor _pwrAttrImage = new PropertyDescriptor("pwrAttrImage",
beanClass, "getPwrAttrImage", "setPwrAttrImage");
_pwrAttrImage.setDisplayName("pwrAttrImage");
_pwrAttrImage.setShortDescription("pwrAttrImage");
PropertyDescriptor _clickAction = new PropertyDescriptor("clickAction",
beanClass, "getClickAction", "setClickAction");
_clickAction.setDisplayName("clickAction");
_clickAction.setShortDescription("clickAction");
_clickAction.setPropertyEditorClass(ClickActionEditor.class);
PropertyDescriptor _command = new PropertyDescriptor("command",
beanClass, "getCommand", "setCommand");
_command.setDisplayName("command");
_command.setShortDescription("command");
PropertyDescriptor _confirm = new PropertyDescriptor("confirm",
beanClass, "getConfirm", "setConfirm");
_confirm.setDisplayName("confirm");
_confirm.setShortDescription("confirm");
PropertyDescriptor _confirmText = new PropertyDescriptor("confirmText",
beanClass, "getConfirmText", "setConfirmText");
_confirmText.setDisplayName("confirmText");
_confirmText.setShortDescription("confirmText");
PropertyDescriptor[] pds = new PropertyDescriptor[] {
_image, _imageLow, _imagePress, _pwrAttribute, _pwrAttrImage,
_clickAction, _command, _confirm, _confirmText};
return pds;
}
catch(IntrospectionException ex) {
ex.printStackTrace();
return null;
}
}
public java.awt.Image getIcon(int iconKind) {
switch (iconKind) {
case BeanInfo.ICON_COLOR_16x16:
return iconColor16x16Filename != null ? loadImage(iconColor16x16Filename) : null;
case BeanInfo.ICON_COLOR_32x32:
return iconColor32x32Filename != null ? loadImage(iconColor32x32Filename) : null;
case BeanInfo.ICON_MONO_16x16:
return iconMono16x16Filename != null ? loadImage(iconMono16x16Filename) : null;
case BeanInfo.ICON_MONO_32x32:
return iconMono32x32Filename != null ? loadImage(iconMono32x32Filename) : null;
}
return null;
}
public BeanInfo[] getAdditionalBeanInfo() {
Class superclass = beanClass.getSuperclass();
try {
BeanInfo superBeanInfo = Introspector.getBeanInfo(superclass);
// return new BeanInfo[] { superBeanInfo };
return null;
}
catch(IntrospectionException ex) {
ex.printStackTrace();
return null;
}
}
}
This diff is collapsed.
package jpwr.beans;
import jpwr.jop.*;
import java.beans.*;
public class JopButtonsetBeanInfo extends SimpleBeanInfo {
Class beanClass = JopButtonset.class;
String iconColor16x16Filename = "jopbuttonset16.gif";
String iconColor32x32Filename = "jopbuttonset32.gif";
String iconMono16x16Filename;
String iconMono32x32Filename;
public JopButtonsetBeanInfo() {
}
public PropertyDescriptor[] getPropertyDescriptors() {
try {
PropertyDescriptor _toolTipText = new PropertyDescriptor("toolTipText",
beanClass, "getToolTipText", "setToolTipText");
_toolTipText.setDisplayName("toolTipText");
_toolTipText.setShortDescription("toolTipText");
PropertyDescriptor _fillColor = new PropertyDescriptor("fillColor",
beanClass, "getFillColor", "setFillColor");
_fillColor.setDisplayName("fillColor");
_fillColor.setShortDescription("fillColor");
_fillColor.setPropertyEditorClass(GeColorEditor.class);
PropertyDescriptor _borderColor = new PropertyDescriptor("borderColor",
beanClass, "getBorderColor", "setBorderColor");
_borderColor.setDisplayName("borderColor");
_borderColor.setShortDescription("borderColor");
_borderColor.setPropertyEditorClass(GeColorEditor.class);
PropertyDescriptor _colorTone = new PropertyDescriptor("colorTone",
beanClass, "getColorTone", "setColorTone");
_colorTone.setDisplayName("colorTone");
_colorTone.setShortDescription("colorTone");
_colorTone.setPropertyEditorClass(GeColorToneEditor.class);
PropertyDescriptor _colorShift = new PropertyDescriptor("colorShift",
beanClass, "getColorShift", "setColorShift");
_colorShift.setDisplayName("colorShift");
_colorShift.setShortDescription("colorShift");
_colorShift.setPropertyEditorClass(GeColorShiftEditor.class);
PropertyDescriptor _colorBrightness = new PropertyDescriptor("colorBrightness",
beanClass, "getColorBrightness", "setColorBrightness");
_colorBrightness.setDisplayName("colorBrightness");
_colorBrightness.setShortDescription("colorBrightness");
_colorBrightness.setPropertyEditorClass(GeColorBrightnessEditor.class);
PropertyDescriptor _colorIntensity = new PropertyDescriptor("colorIntensity",
beanClass, "getColorIntensity", "setColorIntensity");
_colorIntensity.setDisplayName("colorIntensity");
_colorIntensity.setShortDescription("colorIntensity");
_colorIntensity.setPropertyEditorClass(GeColorIntensityEditor.class);
PropertyDescriptor _rotate = new PropertyDescriptor("rotate",
beanClass, "getRotate", "setRotate");
_rotate.setDisplayName("rotate");
_rotate.setShortDescription("rotate");
PropertyDescriptor _clickAction = new PropertyDescriptor("clickAction",
beanClass, "getClickAction", "setClickAction");
_clickAction.setDisplayName("clickAction");
_clickAction.setShortDescription("clickAction");
_clickAction.setPropertyEditorClass(ClickActionEditor.class);
PropertyDescriptor _command = new PropertyDescriptor("command",
beanClass, "getCommand", "setCommand");
_command.setDisplayName("command");
_command.setShortDescription("command");
PropertyDescriptor _lowTone = new PropertyDescriptor("lowTone",
beanClass, "getLowTone", "setLowTone");
_lowTone.setDisplayName("lowTone");
_lowTone.setShortDescription("lowTone");
_lowTone.setPropertyEditorClass(GeColorToneEditor.class);
PropertyDescriptor _pwrAttribute = new PropertyDescriptor("pwrAttribute",
beanClass, "getPwrAttribute", "setPwrAttribute");
_pwrAttribute.setDisplayName("pwrAttribute");
_pwrAttribute.setShortDescription("pwrAttribute");
PropertyDescriptor _pwrAttrColor = new PropertyDescriptor("pwrAttrColor",
beanClass, "getPwrAttrColor", "setPwrAttrColor");
_pwrAttrColor.setDisplayName("pwrAttrColor");
_pwrAttrColor.setShortDescription("pwrAttColor");
PropertyDescriptor _pwrAttrText = new PropertyDescriptor("pwrAttrText",
beanClass, "getPwrAttrText", "setPwrAttrText");
_pwrAttrText.setDisplayName("pwrAttrText");
_pwrAttrText.setShortDescription("pwrAttText");
PropertyDescriptor _textLow = new PropertyDescriptor("textLow",
beanClass, "getTextLow", "setTextLow");
_textLow.setDisplayName("textLow");
_textLow.setShortDescription("textLow");
PropertyDescriptor _textHigh = new PropertyDescriptor("textHigh",
beanClass, "getTextHigh", "setTextHigh");
_textHigh.setDisplayName("textHigh");
_textHigh.setShortDescription("textHigh");
PropertyDescriptor _access = new PropertyDescriptor("access",
beanClass, "getAccess", "setAccess");
_access.setDisplayName("access");
_access.setShortDescription("access");
PropertyDescriptor _confirm = new PropertyDescriptor("confirm",
beanClass, "getConfirm", "setConfirm");
_confirm.setDisplayName("confirm");
_confirm.setShortDescription("confirm");
PropertyDescriptor _confirmText = new PropertyDescriptor("confirmText",
beanClass, "getConfirmText", "setConfirmText");
_confirmText.setDisplayName("confirmText");
_confirmText.setShortDescription("confirmText");
PropertyDescriptor _annot1 = new PropertyDescriptor("annot1",
beanClass, "getAnnot1", "setAnnot1");
_annot1.setDisplayName("annot1");
_annot1.setShortDescription("annot1");
PropertyDescriptor _annot1Font = new PropertyDescriptor("annot1Font",
beanClass, "getAnnot1Font", "setAnnot1Font");
_annot1Font.setDisplayName("annot1Font");
_annot1Font.setShortDescription("annot1Font");
PropertyDescriptor[] pds = new PropertyDescriptor[] {
_toolTipText, _fillColor, _borderColor, _colorTone, _colorShift,
_colorBrightness, _colorIntensity, _rotate,
_clickAction, _command, _lowTone, _pwrAttribute, _pwrAttrColor,
_pwrAttrText, _textLow, _textHigh, _access, _confirm, _confirmText, _annot1, _annot1Font};
return pds;
}
catch(IntrospectionException ex) {
ex.printStackTrace();
return null;
}
}
public java.awt.Image getIcon(int iconKind) {
switch (iconKind) {
case BeanInfo.ICON_COLOR_16x16:
return iconColor16x16Filename != null ? loadImage(iconColor16x16Filename) : null;
case BeanInfo.ICON_COLOR_32x32:
return iconColor32x32Filename != null ? loadImage(iconColor32x32Filename) : null;
case BeanInfo.ICON_MONO_16x16:
return iconMono16x16Filename != null ? loadImage(iconMono16x16Filename) : null;
case BeanInfo.ICON_MONO_32x32:
return iconMono32x32Filename != null ? loadImage(iconMono32x32Filename) : null;
}
return null;
}
public BeanInfo[] getAdditionalBeanInfo() {
Class superclass = beanClass.getSuperclass();
try {
BeanInfo superBeanInfo = Introspector.getBeanInfo(superclass);
// return new BeanInfo[] { superBeanInfo };
return null;
}
catch(IntrospectionException ex) {
ex.printStackTrace();
return null;
}
}
}
This diff is collapsed.
package jpwr.beans;
import jpwr.jop.*;
import java.beans.*;
public class JopButtontoggleBeanInfo extends SimpleBeanInfo {
Class beanClass = JopButtontoggle.class;
String iconColor16x16Filename;
String iconColor32x32Filename;
String iconMono16x16Filename;
String iconMono32x32Filename;
public JopButtontoggleBeanInfo() {
}
public PropertyDescriptor[] getPropertyDescriptors() {
try {
PropertyDescriptor _fillColor = new PropertyDescriptor("fillColor",
beanClass, "getFillColor", "setFillColor");
_fillColor.setDisplayName("fillColor");
_fillColor.setShortDescription("fillColor");
_fillColor.setPropertyEditorClass(GeColorEditor.class);
PropertyDescriptor _borderColor = new PropertyDescriptor("borderColor",
beanClass, "getBorderColor", "setBorderColor");
_borderColor.setDisplayName("borderColor");
_borderColor.setShortDescription("borderColor");
_borderColor.setPropertyEditorClass(GeColorEditor.class);
PropertyDescriptor _colorTone = new PropertyDescriptor("colorTone",
beanClass, "getColorTone", "setColorTone");
_colorTone.setDisplayName("colorTone");
_colorTone.setShortDescription("colorTone");
_colorTone.setPropertyEditorClass(GeColorToneEditor.class);
PropertyDescriptor _colorShift = new PropertyDescriptor("colorShift",
beanClass, "getColorShift", "setColorShift");
_colorShift.setDisplayName("colorShift");
_colorShift.setShortDescription("colorShift");
_colorShift.setPropertyEditorClass(GeColorShiftEditor.class);
PropertyDescriptor _colorBrightness = new PropertyDescriptor("colorBrightness",
beanClass, "getColorBrightness", "setColorBrightness");
_colorBrightness.setDisplayName("colorBrightness");
_colorBrightness.setShortDescription("colorBrightness");
_colorBrightness.setPropertyEditorClass(GeColorBrightnessEditor.class);
PropertyDescriptor _colorIntensity = new PropertyDescriptor("colorIntensity",
beanClass, "getColorIntensity", "setColorIntensity");
_colorIntensity.setDisplayName("colorIntensity");
_colorIntensity.setShortDescription("colorIntensity");
_colorIntensity.setPropertyEditorClass(GeColorIntensityEditor.class);
PropertyDescriptor _clickAction = new PropertyDescriptor("clickAction",
beanClass, "getClickAction", "setClickAction");
_clickAction.setDisplayName("clickAction");
_clickAction.setShortDescription("clickAction");
_clickAction.setPropertyEditorClass(ClickActionEditor.class);
PropertyDescriptor _lowColor = new PropertyDescriptor("lowColor",
beanClass, "getLowColor", "setLowColor");
_lowColor.setDisplayName("lowColor");
_lowColor.setShortDescription("lowColor");
_lowColor.setPropertyEditorClass(GeColorEditor.class);
PropertyDescriptor[] pds = new PropertyDescriptor[] {
_fillColor, _borderColor, _colorTone, _colorShift,
_colorBrightness, _colorIntensity,
_clickAction, _lowColor};
return pds;
}
catch(IntrospectionException ex) {
ex.printStackTrace();
return null;
}
}
public java.awt.Image getIcon(int iconKind) {
switch (iconKind) {
case BeanInfo.ICON_COLOR_16x16:
return iconColor16x16Filename != null ? loadImage(iconColor16x16Filename) : null;
case BeanInfo.ICON_COLOR_32x32:
return iconColor32x32Filename != null ? loadImage(iconColor32x32Filename) : null;
case BeanInfo.ICON_MONO_16x16:
return iconMono16x16Filename != null ? loadImage(iconMono16x16Filename) : null;
case BeanInfo.ICON_MONO_32x32:
return iconMono32x32Filename != null ? loadImage(iconMono32x32Filename) : null;
}
return null;
}
public BeanInfo[] getAdditionalBeanInfo() {
Class superclass = beanClass.getSuperclass();
try {
BeanInfo superBeanInfo = Introspector.getBeanInfo(superclass);
return new BeanInfo[] { superBeanInfo };
}
catch(IntrospectionException ex) {
ex.printStackTrace();
return null;
}
}
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
package jpwr.beans;
import jpwr.jop.*;
import java.beans.*;
public class JopConBeanInfo extends SimpleBeanInfo {
Class beanClass = JopCon.class;
String iconColor16x16Filename = "jopcon16.gif";
String iconColor32x32Filename = "jopcon32.gif";
String iconMono16x16Filename;
String iconMono32x32Filename;
public JopConBeanInfo() {
}
public PropertyDescriptor[] getPropertyDescriptors() {
try {
PropertyDescriptor _borderColor = new PropertyDescriptor("borderColor",
beanClass, "getBorderColor", "setBorderColor");
_borderColor.setDisplayName("borderColor");
_borderColor.setShortDescription("borderColor");
_borderColor.setPropertyEditorClass(GeColorEditor.class);
PropertyDescriptor _lineWidth = new PropertyDescriptor("lineWidth",
beanClass, "getLineWidth", "setLineWidth");
_lineWidth.setDisplayName("lineWidth");
_lineWidth.setShortDescription("lineWidth");
PropertyDescriptor _rotate = new PropertyDescriptor("rotate",
beanClass, "getRotate", "setRotate");
_rotate.setDisplayName("rotate");
_rotate.setShortDescription("rotate");
PropertyDescriptor[] pds = new PropertyDescriptor[] {
_borderColor, _lineWidth, _rotate};
return pds;
}
catch(IntrospectionException ex) {
ex.printStackTrace();
return null;
}
}
public java.awt.Image getIcon(int iconKind) {
switch (iconKind) {
case BeanInfo.ICON_COLOR_16x16:
return iconColor16x16Filename != null ? loadImage(iconColor16x16Filename) : null;
case BeanInfo.ICON_COLOR_32x32:
return iconColor32x32Filename != null ? loadImage(iconColor32x32Filename) : null;
case BeanInfo.ICON_MONO_16x16:
return iconMono16x16Filename != null ? loadImage(iconMono16x16Filename) : null;
case BeanInfo.ICON_MONO_32x32:
return iconMono32x32Filename != null ? loadImage(iconMono32x32Filename) : null;
}
return null;
}
public BeanInfo[] getAdditionalBeanInfo() {
Class superclass = beanClass.getSuperclass();
try {
BeanInfo superBeanInfo = Introspector.getBeanInfo(superclass);
// return new BeanInfo[] { superBeanInfo };
return null;
}
catch(IntrospectionException ex) {
ex.printStackTrace();
return null;
}
}
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment